
MEMORY MAP
KS57C0502/C0504/P0504 MICROCONTROLLER
4–8
CMOD
— Comparator Mode Register
FD7H, FD6H
Bit
Identifier
7
.7
0
6
.6
0
5
.5
0
4
3
.3
0
2
.2
0
1
.1
0
0
.0
0
"0"
0
R/W
8
RESET
Value
Read/Write
Bit Addressing
R/W
8
R/W
8
R/W
8
R/W
8
R/W
8
R/W
8
R/W
8
CMOD.7
Comparator Enable/Disable Bit
1
Comparator operation enable
0
Comparator operation disable
CMOD.5
External/Internal Reference Selection Bit
1
External reference at CIN3, CIN0–2: analog input
0
Internal reference, CIN0–3: analog input
CMOD.6
Conversion Time Control Bit
1
4
×
2
4
/ fx, 15.2 μs @4.19 MHz
0
4
×
2
7
/ fx, 121.6 μs @4.19 MHz
CMOD.4
Bit 4
0
Always logic zero
CMOD.3 – .0
Reference Voltage Selection Bits
Selected V
REF
V
DD
×
(n + 0.5)
16
, n = 0 to 15