Datasheet

Section 10 16-Bit Timer Pulse Unit (TPU)
Rev.6.00 Sep. 27, 2007 Page 475 of 1268
REJ09B0220-0600
Bit 1—Input Capture/Output Compare Flag B (TGFB): Status flag that indicates the
occurrence of TGRB input capture or compare match.
Bit 1
TGFB
Description
0 [Clearing conditions] (Initial value)
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
1 [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
Bit 0—Input Capture/Output Compare Flag A (TGFA): Status flag that indicates the
occurrence of TGRA input capture or compare match.
Bit 0
TGFA
Description
0 [Clearing conditions] (Initial value)
When DTC is activated by TGIA interrupt while DISEL bit of MRB in DTC is 0
When DMAC
*
is activated by TGIA interrupt while DTA bit of DMABCR in DMAC
*
is 1
When 0 is written to TGFA after reading TGFA = 1
1 [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
Note: * The DMAC is not supported in the H8S/2321.