R8C/1A Group, R8C/1B Group 14. Timers
Rev.1.30 Dec 08, 2006 Page 143 of 315
REJ09B0252-0130
Figure 14.26 Registers TC, TM0, and TM1
Timer C Register
Symbol Address After Reset
TC
0091h-0090h 0000h
RW
(b8)
b0
(b15)
b7
Function
Counts internal count source.
0000h can be read w hen the TCC00 bit is set to 0 (count stops).
Count value can be read w hen the TCC00 bit is set to 1 (count starts).
RO
b0b7
Compare 1 Register
Symbol Address After Reset
TM1
009Fh-009Eh FFFFh
Function Setting Range RW
0000h to FFFFh RWStore the value compared w ith timer C
b0b7
Mode
Output compare mode
(b8)
b0
(b15)
b7
Capture and Compare 0 Register
Symbol Address After Reset
TM0
009Dh-009Ch 0000h
(2)
RW
Function Setting Range RW
NOTES :
1.
2.
Input capture mode
RW
Function
When the active edge of the measured pulse is input, store
the value in the TC register
Mode
Output compare mode
(1)
Store the value compared w ith timer C 0000h to FFFFh
RO
Mode
b7
When the TCC13 bit in the TCC1 register is set to 1, the value is set to FFFFh.
When setting a value in the TM0 register, set the TCC13 bit in the TCC1 register to 1 (compare 0 output selected).
When the TCC13 bit is set to 0 (capture selected), no value can be w ritten.
(b8)
b0
(b15)
b7
b0