CHAPTER 13 8/16-BIT UP/DOWN COUNTER/TIMER
13.2.5 Up/down count register 0/1 (UDCR0/1)
Up/down count register 0/1 (UDCR0/1) has the configuration and function explained
below.
I Up/down count register 0/1 (UDCR0/1)
The bit configuration of the up/down count register 0/1 (UDCR0/1) is shown below.
Figure 13.2-6 Bit configuration of up/down count register 0/1 (UDCR0/1)
Bit
UDCR 1
Address: 000069
Bit
UDCR 0
Address: 000068
This register is an 8-bit count register. With an internal prescaler, AIN/BIN pin input, an up/down
count operation is performed. It operates as a 16-bit count register in the 16-bit count mode. In
this case, the high-order 8-bit setting of the control register is disabled.
This register has no direct write operation. This register must be written via RCR. The value to
be written to this register must first be written to RCR, and then it is transferred from RCR to this
register by setting the CCRL: CTUT bit to "1" (reloading by software).
This register uses word access for reading.
262
15
14
13
12
D17
D16
D15 D14
H
R
R
R
7
6
5
D07
D06
D05 D04
H
R
R
R
11
10
9
D13
D12
D11
R
R
R
R
4
3
2
1
D03
D02
D01
R
R
R
R
8
Initial value
D10
00000000
B
R
0
Initial value
D00
00000000
B
R