
239
9.4 Registers of the 16-bit Timer/Counter
9.4
Registers of the 16-bit Timer/Counter
This section describes the registers related to the 16-bit timer/counter.
I
Registers Related to the 16-bit Timer/Counter
Figure 9.4-1 Registers Related to the 16-bit Timer/Counter
-
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Address
XX000000
B
Initial value
R/W
R/W
R/W
R/W
R/W
W
TCS
TCIE
TCEF
TCS0
TCS1
TCR
-
0 0 7 3
H
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
0 0 7 4
H
Address
00000000
B
Initial value
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Upper bits (TCHR)
--> While the counter is stopped
--> While the counter is operating
R
R
R
R
R
R
R
R
Lower bits (TCLR)
bit7
bit6
00000000
B
0 0 7 5
H
bit5
bit4
bit3
bit2
bit1
bit0
Address
Initial value
TMCR (timer control register)
TCR (timer count register)
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
--> While the counter is stopped
--> While the counter is operating
R/W : Read/write enabled
R
: Read only
W : Write only
X
: Undefined