English
Language : 

HD404054 Datasheet, PDF (44/103 Pages) Hitachi Semiconductor – HMCS400-series microcomputers designed to increase program productivity with large-capacity memory
HD404054 Series/HD404094 Series
Serial mode register 1A (SM1A: $005)
Bit
Initial value
Read/Write
Bit name
3
0
W
SM1A3
2
0
W
SM1A2
1
0
W
SM1A1
0
0
W
SM1A0
R41/SCK1
SM1A3 mode selection
0
R41
1
SCK1
Prescaler
SM1A2
SM1A1 SM1A0
SCK1
division
Clock source ratio
0
0
0 Output Prescaler
÷ 2048
1 Output Prescaler
÷ 512
1
0 Output Prescaler
÷ 128
1 Output Prescaler
÷ 32
1
0
0 Output Prescaler
÷8
1 Output Prescaler
÷2
1
0 Output System clock —
1 Input External clock —
Figure 26 Serial Mode Register 1A (SM1A)
Compare enable register (CER: $018)
Bit
Initial value
Read/Write
Bit name
3
0
W
CER3
2
—
—
Not used
1
0
W
CER1
0
0
W
CER0
CER3
0
1
Digital/Analog selection
Digital input mode:
RD0 /COMP0 and RD1 /COMP1
operate as an R port.
Analog input mode:
RD0 /COMP0 and RD1/COMP1
operate as analog input.
CER1
0
0
1
1
CER0
0
1
0
1
Analog input pin selection
COMP0
COMP1
Not used
Not used
Figure 27 Compare Enable Register
42