R01UH0823EJ0100 Rev.1.00
Page 732 of 1823
Jul 31, 2019
RX23W Group
26. 8-Bit Timer (TMR)
26.2.2
Time Constant Register A (TCORA)
TCORA is an 8-bit readable/writable register.
TMR0.TCORA and TMR1.TCORA (TMR2.TCORA and TMR3.TCORA) comprise a single 16-bit register
(TMR01.TCORA, TMR23.TCORA) so they can be accessed together by a word transfer instruction.
The value in TCORA is continually compared with the value in TCNT. When a match is detected, the corresponding
compare match A is generated, and a compare match A interrupt (low-level pulse) is output provided the interrupt
request is enabled by the TCR.CMIEA bit.
However, comparison is not performed during writing to TCORA. The timer output from the TMOn pin can be freely
controlled by this compare match A and the settings of the TCSR.OSA[1:0] bits.
26.2.3
Time Constant Register B (TCORB)
TCORB is an 8-bit readable/writable register.
TMR0.TCORB and TMR1.TCORB (TMR2.TCORB and TMR3.TCORB) comprise a single 16-bit register
(TMR01.TCORB, TMR23.TCORB) so they can be accessed together by a word transfer instruction.
The value in TCORB is continually compared with the value in TCNT. When a match is detected, the corresponding
compare match B is generated, and a compare match B interrupt (low-level pulse) is output provided the interrupt request
is enabled by the TCR.CMIEB bit.
However, comparison is not performed during writing to TCORB. The timer output from the TMOn pin can be freely
controlled by this compare match B and the settings of the TCSR.OSB[1:0] bits.
Address(es): TMR0.TCORA 0008 8204h, TMR1.TCORA 0008 8205h, TMR2.TCORA 0008 8214h, TMR3.TCORA 0008 8215h,
TMR01.TCORA 0008 8204h, TMR23.TCORA 0008 8214h
TMR01.TCORA (TMR23.TCORA)
TMR0.TCORA (TMR2.TCORA)
TMR1.TCORA (TMR3.TCORA)
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Address(es): TMR0.TCORB 0008 8206h, TMR1.TCORB 0008 8207h, TMR2.TCORB 0008 8216h, TMR3.TCORB 0008 8217h,
TMR01.TCORB 0008 8206h, TMR23.TCORB 0008 8216h
TMR01.TCORB (TMR23.TCORB)
TMR0.TCORB (TMR2.TCORB)
TMR1.TCORB (TMR3.TCORB)
b7
b6
b5
b4
b3
b2
b1
b0
b7
b6
b5
b4
b3
b2
b1
b0
Value after reset:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1