Cmod Comparator Mode Register - Samsung S3F80JB User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

CONTROL REGISTERS
CMOD
— Comparator Mode Register
Bit Identifier
Reset Value
Read/Write
Addressing Mode
.7
.6
.5
.4
.3 – .0
NOTE: You can select the number of analog input pin for your purpose by setting the CMPSEL.
4-8
.7
.6
0
0
R/W
R/W
Register addressing mode only
Comparator Enable Bit
0
Comparator operation disable
1
Comparator operation enable
Conversion Timer Control Bit
8 × 2
7
0
/ f
, 256 at 8 MHz
OSC
8 × 2
4
1
/ f
, 32 at 8 MHz
OSC
External Reference Selection Bit
0
Internal reference, CIN0-3: Analog input
1
External reference, CIN0-2: Analog input, CIN3: Reference input
Not used for S3F80JB.
Reference Voltage Selection Bits
× (N + 0.5)/16, N = 0 to 15
Selected V
= V
REF
DD
.5
.4
.3
0
0
R/W
R/W
R/W
E9H
Set1 Bank1
.2
.1
0
0
0
R/W
R/W
S3F80JB
.0
0
R/W

Advertisement

Table of Contents
loading

Table of Contents