Fujitsu FR60 Computer Hardware User Manual


  Open as PDF
of 1038
 
845
Chapter 41 Up/Down Counter
4.Register
4.3 UDCR: Up/Down Counter Register
This register is used to read the count value of Up/Down Counter.
UDCR10 (Up/Down Counter 0/1): Address 0302
H
(Access: Byte, Half-Word)
UDCR32 (Up/Down Counter 2/3): Address 0312
H
(Access: Byte, Half-Word)
Depending on the setting of the 16-bit mode enable bit (CCR.M16E), this register behaves differently.
16 Bit Mode (M16E= “1”)
In the 16 bit mode, this register functions as 16-bit up/down counter register.
UDCR10 (Up/Down Counter): Address 0302
H
(Access: Half-word)
UDCR32 (Up/Down Counter): Address 0312
H
(Access: Half-word)
(For attributes, refer to “Meaning of Bit Attribute Symbols (Page No.10)”.)
For the 16 bit mode, be sure to read by half-word access.
8 Bit Mode (M16E=“0”)
In the 8 bit mode, this register functions as a 8-bit up/down counter register 0 and a 8-bit up/down counter
register 1.
UDCR1 (Up/Down Counter 1): Address 00302
H
(Access: Byte, Half-word)
UDCR0 (Up/Down Counter 0): Address 00303
H
(Access: Byte, Half-word)
UDCR3 (Up/Down Counter 3): Address 00312
H
(Access: Byte, Half-word)
UDCR2 (Up/Down Counter 2): Address 00313
H
(Access: Byte, Half-word)
(For attributes, refer to “Meaning of Bit Attribute Symbols (Page No.10)”.)
15 14 13 12 11 10 9 8 bit
D15 D14 D13 D12 D11 D10 D09 D08
0 0 0 0 0 0 0 0 Initial value
R/WX R/WX R/WX R/WX R/WX R/WX R/WX R/WX Attribute
76543210bit
D07 D06 D05 D04 D03 D02 D01 D00
0 0 0 0 0 0 0 0 Initial value
R/WX R/WX R/WX R/WX R/WX R/WX R/WX R/WX Attribute
76543210bit
D07 D06 D05 D04 D03 D02 D01 D00
00000000
Initial
value
R/WX R/WX R/WX R/WX R/WX R/WX R/WX R/WX Attribute