R8C/18 Group, R8C/19 Group
Timer C Register
(b15)
(b8)
b7
b0
Capture and Compare 0 Register
(b15)
(b8)
b7
b0
NOTES:
1.
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.
2. When the TCC13 bit in the TCC1 register is set to 1, the value is set to FFFFh.
Compare 1 Register
(b15)
(b8)
b7
b0
Figure 14.26
Registers TC, TM0, and TM1
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
b7
b0
Symbol
TC
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).
b7
b0
Symbol
TM0
Mode
Input capture mode
Mode
(1)
Output compare mode
b7
b0
Symbol
TM1
Mode
Output compare mode
Page 137 of 233
Address
0091h-0090h
Function
Address
009Dh-009Ch
Function
When the active edge of the measured pulse is input, store
the value in the TC register
Function
Store the value compared w ith timer C
Address
009Fh-009Eh
Function
Store the value compared w ith timer C
14. Timers
After Reset
0000h
RW
RO
After Reset
(2)
0000h
RW
RO
Setting Range
RW
0000h to FFFFh
RW
After Reset
FFFFh
Setting Range
RW
0000h to FFFFh
RW