R8C/20 Group, R8C/21 Group 14. Timers
Rev.2.00 Aug 27, 2008 Page 138 of 458
REJ09B0250-0200
Figure 14.14 Registers TRBCR and TRBOCR
Timer RB Control Register
Symbol Address After Reset
TRBCR
0108h 00h
Bit Symbol Bit Name Function RW
NOTES:
1.
2.
3. Indicates that count operation is in progress in timer mode or programmable w aveform mode. In programmable one-
shot generation mode or programmable w ait one-shot generation mode, indicates that a one-shot pulse trigger has
been acknow led
ed.
When the TSTOP bit is set to 1, registers TRBPRE, TRBSC, TRBPR, and bits TSTART and TCSTF, and the TOSSTF bit
in the TRBOCR register are set to values after a reset.
0 : Stops counting
1 : Counting
(3)
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
RO
—
(b7-b3)
—
Timer RB count start bit
(1)
Timer RB count forcible stop
bit
(1,2)
Refer to
14.2.5 Notes on Timer RB
.
TSTART RW
TCSTF
Timer RB count status flag
(1)
TSTOP RW
b3 b2
When this bit is set to 1, the count is forcibly
stopped. When read, the content is 0.
b1 b0
0 : Stops counting
1 : Starts counting
b7 b6 b5 b4
Timer RB One-Shot Control Re
ister
(2)
Symbol Address After Reset
TRBOCR
0109h 00h
Bit Symbol Bit Name Function RW
NOTES:
1.
2.
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
Timer RB one-shot status
flag
(1)
When 1 is set to the TSTOP bit in the TRBCR register, the TOSSTF bit is set to 0.
This register is enabled w hen bits TMOD1 to TMOD0 in the TRBMR register is set to 10b (programmable one-shot
generation mode) or 10b (programmable w ait one-shot generation mode).
RO
—
(b7-b3)
—
RW
RW
Timer RB one-shot start bit When this bit is set to 1, the one-shot trigger
generated. When read, the content is 0.
Timer RB one-shot stop bit When this bit is set to 1, the one-shot pulses
(including programmable wait one-shot pulses)
stops. When read, the content is 0.
b7 b6 b5 b4 b3 b2
0 : One-shot stopping
1 : One-shot operating (including w ait period)
b1 b0
TOSSP
TOSSTF
TOSST