Datasheet
Section 11 16-Bit Timer Pulse Unit (TPU) 
Page 744 of 1384    R01UH0310EJ0500 Rev. 5.00 
 Sep 25, 2012 
H8S/2426, H8S/2426R, H8S/2424 Group
Bit  Bit Name  Initial value  R/W  Description 
1 TGFB  0  R/(W)*
1
  Input Capture/Output Compare Flag B 
Status flag that indicates the occurrence of TGRB 
input capture or compare match. 
[Setting conditions] 
•  When TCNT = TGRB while TGRB is 
functioning as output compare register 
•  When TCNT value is transferred to TGRB by 
input capture signal while TGRB is functioning 
as input capture register 
[Clearing conditions] 
•  When DTC is activated by TGIB interrupt while 
DISEL bit of MRB in DTC is 0 
•  When 0 is written to TGFB after reading 
TGFB = 1 
0 TGFA  0  R/(W)*
1
  Input Capture/Output Compare Flag A 
Status flag that indicates the occurrence of TGRA 
input capture or compare match. 
[Setting conditions] 
When TCNT = TGRA while TGRA is functioning 
as output compare register 
When TCNT value is transferred to TGRA by input 
capture signal while TGRA is functioning as input 
capture register 
[Clearing conditions] 
•  When DTC is activated by TGIA interrupt while 
DISEL bit of MRB in DTC is 0 
•  When DMAC is activated by TGIA interrupt 
while DTE bit of DMABCR in DTC is 1*
2
•  When 0 is written to TGFA after reading 
TGFA = 1 
Notes:  1.  Only 0 can be written, for flag clearing. 
  2.  Only available in unit 0. 










