Section 12 16-Bit Timer Pulse Unit (TPU)
Bit
Bit Name Initial value
1
TGFB
0
0
TGFA
0
Note:
The write value should always be 0 to clear the flag.
*
Rev. 3.00 Jul. 14, 2005 Page 330 of 986
REJ09B0098-0300
R/W
Description
R/(W)*
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 TGFB interrupt while
DISEL bit of MRB in DTC is 0.
•
When 0 is written to TGFB after reading TGFB = 1
R/(W)*
Input Capture/Output Compare Flag A
Status flag that indicates the occurrence of TGRA input
capture or compare match. The write value should
always be 0 to clear this flag.
[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 0 is written to TGFA after reading TGFA = 1