R01UH0823EJ0100 Rev.1.00 Page 499 of 1823
Jul 31, 2019
RX23W Group 23. Multi-Function Timer Pulse Unit 2 (MTU2a)
23.2.12 Timer General Register (TGR)
Note: The TGR registers must not be accessed in 8-bit units; they should be accessed in 16-bit units.
The MTU has a total of 18 TGR registers, six for MTU0, two each for MTU1 and MTU2, and four each for MTU3 and
MTU4.
Registers TGRA, TGRB, TGRC, and TGRD function as either output compare or input capture registers. Registers
TGRC and TGRD for MTU0, MTU3, and MTU4 can also be designated for operation as buffer registers. TGR buffer
register combinations are TGRA and TGRC, and TGRB and TGRD.
Registers MTU0.TGRE and MTU0.TGRF function as compare registers. When the MTU0.TCNT count matches the
MTU0.TGRE register value, an A/D converter start request can be issued. The TGRF register can also be designated for
operation as a buffer register. TGR buffer register combination is TGRE and TGRF.
Address(es): MTU0.TGRA 000D 0B08h, MTU0.TGRB 000D 0B0Ah, MTU0.TGRC 000D 0B0Ch, MTU0.TGRD 000D 0B0Eh,
MTU0.TGRE 000D 0B20h, MTU0.TGRF 000D 0B22h, MTU1.TGRA 000D 0B88h, MTU1.TGRB 000D 0B8Ah,
MTU2.TGRA 000D 0C08h, MTU2.TGRB 000D 0C0Ah, MTU3.TGRA 000D 0A18h, MTU3.TGRB 000D 0A1Ah,
MTU3.TGRC 000D 0A24h, MTU3.TGRD 000D 0A26h, MTU4.TGRA 000D 0A1Ch, MTU4.TGRB 000D 0A1Eh,
MTU4.TGRC 000D 0A28h, MTU4.TGRD 000D 0A2Ah
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
1111111111111111