MB90570 Series
50
6. 8/16-bit up/down counter/timer
The 8/16-bit up/down counter/timer consists of six event input pins, two 8-bit up/down counters, two 8-bit
reload compare registers, and their controllers.
(1) Register configuration
000076H
00007AH
Up/down count register 1 (UDCR1)
bit 7
bit 0
Address
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
.............
Initial value
00000000 B
D17
D16
D15
D14
D13
D12
D11
D10
(UDCR0)
RRRRR
RR
R
Up/down count register 0 (UDCR0)
bit 15
bit 8
Address
D06
D07
(UDCR1)
RR
R
bit 7
bit 6
bit 5
bit 4
D04
D05
D02
D03
D00
D01
............
bit 3
bit 2
bit 1
bit 0
000070H
Initial value
00000000 B
000071H
Reload compare register 1 (RCR1)
bit 7
bit 0
Address
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
.............
Initial value
00000000 B
D17
D16
D15
D14
D13
D12
D11
D10
(RCR0)
WWWWW
WW
W
Reload compare register 0 (RCR0)
bit 15
bit 8
Address
D06
D07
(RCR1)
WW
W
bit 7
bit 6
bit 5
bit 4
D04
D05
D02
D03
D00
D01
............
bit 3
bit 2
bit 1
bit 0
000072H
Initial value
00000000 B
000073H
Counter status register 0, 1 (CSR0, CSR1)
bit 15
bit 8
Address
CITE
CSTR
(Reserved area)
R/W
R
bit 7
bit 6
bit 5
bit 4
CMPF
UDIE
UDFF
OVFF
UDF0
UDF1
............
bit 3
bit 2
bit 1
bit 0
000074H
000078H
Initial value
00000000 B
Counter control register 0, 1 (CCRL0, CCRL1)
bit 15
bit 8
Address
CTUT
—
(CCRH0, CCRH1)
—
R/W
bit 7
bit 6
bit 5
bit 4
RLDE
UCRE
CGSC
UDCC
CGE0
CGE1
............
bit 3
bit 2
bit 1
bit 0
Initial value
- 0 000000 B
Counter control register 0 (CCRH0)
bit 7
bit 0
Address
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
.............
Initial value
00000000 B
M16E
CDCF
CFIE
CLKS
CMS1
CMS0
CES1
CES0
(CCRL0)
R/W
000077H
Counter control register 1 (CCRH1)
bit 7
bit 0
Address
bit 15
bit 14
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
.............
Initial value
- 0 000000 B
—
CDCF
CFIE
CLKS
CMS1
CMS0
CES1
CES0
(CCRL1)
—
R/W
00007BH
R/W : Readable and writable
R : Read only
W : Write only
— : Undefined