273
CHAPTER 13 8/16-BIT UP/DOWN COUNTER/TIMER
13.3.5 Up/down count register (ch.0/ch.1) (UDCR0/UDCR1)
This section describes the configuration and explains the function of up/down count
register (ch.0/ch.1) (UDCR0/UDCR1).
■
Up/down count register (ch.0/ch.1) (UDCR0/UDCR1)
The bit configuration of the up/down count register (ch.0/ch.1) (UDCR0/UDCR1) is shown
below.
Figure 13.3-6 Bit configuration of up/down count register (ch.0/ch.1) (UDCR0/UDCR1)
This register is an 8-bit count register. With an internal prescaler or 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.
Writing to this register directly is not allowed. To write to this register, be sure to write via PCR.
The value to be written to this register must first be written to RCR, and then it is transferred
from RCR value to this register by setting the CCRL: CTUT bit to "1" (reloading by software).
This register requires word access for reading.
15 14 1
3
12 11 10 9
8
Initi
a
l v
a
l
u
e
D17
D16
D15
D14
D1
3
D12 D11 D10 00000000
B
R R R R R R R R
7 6 5 4
3
2 1 0
Initi
a
l v
a
l
u
e
D07
D06
D05
D04
D0
3
D02 D01 D00 00000000
B
R R R R R R R R
UDCR 0
ch.0 Addre
ss
: 00006
8
H
UDCR 1
ch.1 Addre
ss
: 000069
H
b
it
b
it
Summary of Contents for MB90480 Series
Page 2: ......
Page 4: ......
Page 10: ...vi ...
Page 128: ...106 CHAPTER 4 RESET ...
Page 174: ...152 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Page 198: ...176 CHAPTER 7 MODE SETTING ...
Page 220: ...198 CHAPTER 9 TIMEBASE TIMER ...
Page 238: ...216 CHAPTER 11 WATCH TIMER ...
Page 280: ...258 CHAPTER 12 16 BIT INPUT OUTPUT TIMER ...
Page 406: ...384 CHAPTER 17 8 10 BIT A D CONVERTER ...
Page 478: ...456 CHAPTER 20 CHIP SELECTION FACILITY ...
Page 494: ...472 CHAPTER 21 ADDRESS MATCH DETECTION FUNCTION ...
Page 498: ...476 CHAPTER 22 ROM MIRROR FUNCTION SELECTION MODULE ...
Page 526: ...504 CHAPTER 23 2M 3M BIT FLASH MEMORY ...
Page 536: ...514 CHAPTER 24 EXAMPLES OF MB90F481B MB90F482B MB90F488B MB90F489B SERIAL PROGRAMMING ...
Page 570: ...548 CHAPTER 25 PWC TIMER ONLY MB90485 SERIES ...
Page 688: ......