PIC12F683-E/P Microchip Technology Inc., PIC12F683-E/P Datasheet - Page 49

no-image

PIC12F683-E/P

Manufacturer Part Number
PIC12F683-E/P
Description
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O, PDIP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F683-E/P

A/d Inputs
4 Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
6
Memory Type
Flash
Number Of Bits
8
Package Type
8-pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Serial Interface
None
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
8.0
The comparator module contains one analog com-
parator. The inputs to the comparator are multiplexed
with I/O port pins, GP0 and GP1, while the outputs are
multiplexed to GP2. An on-chip Comparator Voltage
Reference (CV
the comparator.
REGISTER 8-1:
 2004 Microchip Technology Inc.
COMPARATOR MODULE
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
REF
) can also be applied to the inputs of
CMCON0 – COMPARATOR CONTROL REGISTER 0 (ADDRESS: 19h)
Unimplemented: Read as ‘0’
COUT: Comparator Output bit
When CINV = 0:
1 = V
0 = V
When CINV = 1:
1 = V
0 = V
Unimplemented: Read as ‘0’
CINV: Comparator Output Inversion bit
1 = Output inverted
0 = Output not inverted
CIS: Comparator Input Switch bit
When CM<2:0> = 110 or 101:
1 = V
0 = V
CM<2:0>: Comparator Mode bits
Figure 8-3 shows the Comparator modes and CM<2:0> bit settings.
Legend:
R = Readable bit
- n = Value at POR
bit 7
U-0
IN
IN
IN
IN
IN
IN
+ > V
+ < V
+ < V
+ > V
- connects to CIN+
- connects to CIN-
IN
IN
IN
IN
COUT
-
-
-
-
R-0
U-0
Preliminary
W = Writable bit
‘1’ = Bit is set
R/W-0
CINV
The CMCON0 register (Register 8-1) controls the
comparator input and output multiplexers. A block
diagram of the various comparator configurations is
shown in Figure 8-3.
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
CIS
R/W-0
CM2
PIC12F683
x = Bit is unknown
R/W-0
CM1
DS41211B-page 47
R/W-0
CM0
bit 0

Related parts for PIC12F683-E/P