220
CHAPTER 11 MULTIFUNCTIONAL TIMER
11.4.2
Timer Data Register (TCDTH, TCDTL)
The timer data register (TCDTH, TCDTL) is used to read the count value of the 16-bit
free-run timer.
■
Timer Data Register (TCDTH, TCDTL)
The timer data register is used to read the count value of the 16-bit free-run timer. The count value is
cleared to "0000
H
" immediately when a reset occurs. Writing the value to this register can be set the timer
value. However, write a value while the timer is stopped (the lower of the timer state control register
(TCCSL), STOP: bit6 = 1). To access the timer data register, use a halfword or word access instruction.
16-bit free-run timer is initialized immediately when the following factors occur.
•
Reset
•
Clear bit of the timer state control register (TCCSL) (SCLR: bit4) = 1
•
Match of the compare clear register and the timer count value in the up count mode (the lower of the
timer state control register (TCCSL), MODE: bit5 = 0)
Bit15
Bit14
Bit13
Bit12
Bit11
Bit10
Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
T15
T14
T13
T12
T11
T10
T09
T08
TCDTH
Address: 0000A6
H
Timer data register (Upper)
Read/Write
→
Initial value
→
Timer data register (Lower)
TCDTL
T07
T06
T05
T04
T03
T02
T01
T00
Read/Write
→
Initial value
→
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
Address: 0000A7
H
Summary of Contents for FR60Lite
Page 3: ......
Page 5: ......
Page 115: ...100 CHAPTER 3 CPU AND CONTROL UNITS ...
Page 127: ...112 CHAPTER 4 I O PORTS ...
Page 143: ...128 CHAPTER 5 INTERRUPT CONTROLLER ...
Page 155: ...140 CHAPTER 6 EXTERNAL INTERRUPT AND NMI CONTROLLER ...
Page 197: ...182 CHAPTER 9 PPG Programmable Pulse Generator ...
Page 337: ...322 CHAPTER 13 UART ...
Page 417: ...402 CHAPTER 16 DMAC DMA Controller ...
Page 445: ...430 CHAPTER 17 FLASH MEMORY ...
Page 451: ...436 CHAPTER 18 SERIAL PROGRAMMING CONNECTION ...
Page 493: ...478 APPENDIX F Precautions on Handling ...
Page 494: ...479 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 507: ...492 INDEX ...
Page 509: ......