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

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.3
There are eight modes of operation for the comparator.
The CMCON0 register is used to select these modes.
Figure 8-3 shows the eight possible modes.
If the Comparator mode is changed, the comparator
output level may not be valid for the specified mode
change delay shown in Section 15.0 “Electrical
Specifications”.
FIGURE 8-3:
 2004 Microchip Technology Inc.
Comparator Reset (POR Default Value – Low Power)
CM<2:0> = 000
Comparator without Output
CM<2:0> = 010
Comparator with Output and Internal Reference
CM<2:0> = 011
Comparator with Output
CM<2:0> = 001
Legend: A = Analog Input, ports always read ‘0’
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
Comparator Configuration
D = Digital Input
A
A
D
A
A
D
A
D
D
A
A
D
COMPARATOR I/O OPERATING MODES
From CV
REF
Module
Off (Read as ‘0’)
COUT
COUT
COUT
Preliminary
Comparator Off (Lowest Power)
CM<2:0> = 111
Comparator w/o Output and with Internal Reference
CM<2:0> = 100
Multiplexed Input with Internal Reference and Output
CM<2:0> = 101
Multiplexed Input with Internal Reference
CM<2:0> = 110
CIS = Comparator Input Switch (CMCON0<3>)
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
GP1/CIN-
GP0/CIN+
GP2/COUT
Note:
D
D
D
D
A
D
D
A
A
A
A
D
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
CIS = 0
CIS = 1
CIS = 0
CIS = 1
From CV
From CV
PIC12F683
From CV
REF
Module
REF
REF
Off (Read as ‘0’)
COUT
Module
DS41211B-page 49
Module
COUT
COUT

Related parts for PIC12F683-E/P