R8C/38T-A Group
16. Timer RB2
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0241EJ0010 Rev.0.10
Page 270 of 730
Aug 05, 2011
TWRC: Bit in TRBMR register
Notes:
2. When the TWRC bit is 0 (write to reload register and counter) in programmable waveform and programmable
wait one-shot generation modes, if the data in registers TRBSC and TRBPR is updated during count operation,
the waveform is output for the updated period from that time.
TWRC: Bit in TRBMR register
Notes:
2. When the TWRC bit is 0 (write to reload register and counter) in programmable waveform and programmable
wait one-shot generation modes, if the data in registers TRBSC and TRBPR is updated during count operation,
the waveform is output for the updated period from that time.
Table 16.6
Reload Register Update Timing for Registers TRBPR and TRBSC in 8-Bit Timer with
8-Bit Prescaler
Operating Mode
Update Timing (1)
TRBPR Register
TRBSC Register
Timer mode
Updated in synchronization with the
prescaler underflow after the
TRBPR register is written.
Updated in synchronization with the
prescaler underflow after the
TRBSC register is written.
Programmable waveform
generation mode
TWRC = 1
Updated immediately before the end of the secondary output period after
the TRBPR register is written.
TWRC = 0
Updated in synchronization with the prescaler underflow after the TRBPR
register is written. (2)
Programmable one-shot generation
mode
Updated in synchronization with the
prescaler underflow after the
TRBPR register is written.
Updated in synchronization with the
prescaler underflow after the
TRBSC register is written.
Programmable wait one-
shot generation mode
TWRC = 1
Updated immediately before the end of the secondary output period after
the TRBPR register is written.
TWRC = 0
Updated in synchronization with the prescaler underflow after the TRBPR
register is written. (2)
Table 16.7
Reload Register Update Timing for Registers TRBPRE, TRBPR, and TRBSC in 16-Bit
Timer
Operating Mode
Update Timing (1)
Registers TRBPRE and TRBPR
TRBSC Register
Timer mode
Updated in synchronization with the
count source after the TRBPR
register is written.
Updated in synchronization with the
count source after the TRBSC
register is written.
Programmable waveform
generation mode
TWRC = 1
Updated immediately before the end of the secondary output period after
the TRBPR register is written
TWRC = 0
Updated in synchronization with the count source after the TRBPR
register is written. (2)
Programmable one-shot generation
mode
Updated in synchronization with the
count source after the TRBPR
register is written.
Updated in synchronization with the
count source after the TRBSC
register is written.
Programmable wait one-
shot generation mode
TWRC = 1
Updated immediately before the end of the secondary output period after
the TRBPR register is written.
TWRC = 0
Updated in synchronization with the count source after the TRBPR
register is written. (2)