17.4 Details on Registers of the 16-bit Free Run Timer
This section details the registers of the 16-bit free run timer.
■ Timer Data Register (TCDT)
TCDT
Address: 0000D4
This register allows reading the count value of the 16-bit free run timer. The counter value is
cleared to "0000
(STOP = 1). Access this register in units of words. The 16-bit free run timer is initialized by
following one of the methods below.
•
Initialization by reset
•
Initialization by clearing the control status register (CLR)
•
Initialization by matching a compare clear register (ch.0 compare register) value with a timer
counter value (A mode must be set.)
bit 15
14
13
T15
T14
T13
H
R/W
R/W
R/W
bit 7
6
5
T07
T06
T05
R/W
R/W
R/W
" at reset. To set a timer value, write it to this register in the stop status
H
CHAPTER 17 16-BIT FREE RUN TIMER
12
11
10
9
T12
T11
T10
T09
R/W
R/W
R/W
R/W
4
3
2
1
T04
T03
T02
T01
R/W
R/W
R/W
R/W
8
T08
Initial value
0000
R/W
H
0
T00
R/W
481