
176
CHAPTER 6 8/16-BIT UP/DOWN COUNTER/TIMER
6.3.4
Up/down count register 0/1 (UDCR 0/1)
The register configuration of the up/down count register 0/1 (UDCR 0/1) is shown
below.
■
Up/down count register 0/1 (UDCR 0/1)
The structure of the up/down count register 0/1 is shown below:
This register is an 8-bit count register. Up/down counting is performed with an internal prescaler
or an input through the AIN pin or BIN pin,. In 16-bit counting mode, this bit operates as a 16-bit
count register. In this case, the setting value in the control register for the higher 8 bits is invalid
for the operation.
Values cannot be written to this register directly. To write a value to this register, the RCR must
be used. First write the value to write to this register to the RCR, then set the CTUT bit of the
CCRL register to 1. The value will then be transferred from the RCR to this register (in a reload-
operation by software).
In 16-bit mode, perform a 16-bit read operation for this register once.
bit
15
14
13 12
11
10 9
8
Address: 00005E
H
UDCR1
UDCR0
00005F
H
D17
D16
D15
D14
D13
D12
D 11
D 10
00000000
B
7
6
5
4
3
2
1
0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Initial
value
Initial value
D07
D06
D05
D04
D03
D02
D01
D00
00000000
B
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......