R01UH0823EJ0100 Rev.1.00
Page 676 of 1823
Jul 31, 2019
RX23W Group
25. 16-Bit Timer Pulse Unit (TPUa)
TGFA Flag (Input Capture/Output Compare Flag A)
This status flag indicates that input capture to TPUm.TGRA or compare match with TPUm.TGRA (m = 0 to 5) has
occurred.
[Setting conditions]
When TPUm.TGRA holds the value for comparison in output-compare operations, TPUm.TCNT matches
TPUm.TGRA.
When TPUm.TGRA is serving as an input-capture register, the input-capture signal has caused transfer of the value
in TPUm.TCNT to TPUm.TGRA.
[Clearing conditions]
Activation of the DTC by the TGImA interrupt and clearing of the DTC.MRB.DISEL bit.
Writing 0 to TGFA after reading its value as 1.
TGFB Flag (Input Capture/Output Compare Flag B)
This status flag indicates that input capture to TPUm.TGRB or compare match with TPUm.TGRB (m = 0 to 5) has
occurred.
[Setting conditions]
When TPUm.TGRB holds the value for comparison in output-compare operations, TPUm.TCNT matches
TPUm.TGRB.
When TPUm.TGRB is serving as an input-capture register, the input-capture signal has caused transfer of the value
in TPUm.TCNT to TPUm.TGRB.
[Clearing conditions]
Activation of the DTC by the TGImB interrupt and clearing of the DTC.MRB.DISEL bit.
Writing 0 to TGFB after reading its value as 1.
TGFC Flag (Input Capture/Output Compare Flag C)
This status flag indicates that input capture to TPUm.TGRC or compare match with TPUm.TGRC (m = 0, 3) has
occurred.
[Setting conditions]
When TPUm.TGRC holds the value for comparison in output-compare operations, TPUm.TCNT matches
TPUm.TGRC.
When TPUm.TGRC is serving as an input-capture register, the input-capture signal has caused transfer of the value
in TPUm.TCNT to TPUm.TGRC.
[Clearing conditions]
Activation of the DTC by the TGImC interrupt and clearing of the DTC.MRB.DISEL bit.
Writing 0 to TGFC after reading its value as 1.
TGFD Flag (Input Capture/Output Compare Flag D)
This status flag indicates that input capture to TPUm.TGRD or compare match with TPUm.TGRD (m = 0, 3) has
occurred.
[Setting conditions]
When TPUm.TGRD holds the value for comparison in output-compare operations, TPUm.TCNT matches
TPUm.TGRD.
When TPUm.TGRD is serving as an input-capture register, the input-capture signal has caused transfer of the value
in TPUm.TCNT to TPUm.TGRD.
[Clearing conditions]
Activation of the DTC by the TGImD interrupt and clearing of the DTC.MRB.DISEL bit.
Writing 0 to TGFD after reading its value as 1.