PIC12F683-E/MD MICROCHIP [Microchip Technology], PIC12F683-E/MD Datasheet - Page 55
PIC12F683-E/MD
Manufacturer Part Number
PIC12F683-E/MD
Description
8-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
1.PIC12F683-EMD.pdf
(176 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC12F683-E/MD
Manufacturer:
ZETEX
Quantity:
1 100
Part Number:
PIC12F683-E/MD
Manufacturer:
MICROCHIP原装
Quantity:
20 000
- Current page: 55 of 176
- Download datasheet (4Mb)
8.3
There are eight modes of operation for the comparator.
The CM<2:0> bits of the CMCON0 register are used to
select these modes as shown in Figure 8-4.
• Analog function (A): digital input buffer is disabled
• Digital function (D): comparator digital output,
• Normal port function (I/O): independent of com-
FIGURE 8-4:
© 2007 Microchip Technology Inc.
Legend: A = Analog Input, ports always reads ‘0’
Note 1:
overrides port function
parator
Comparator Reset (POR Default Value – low power)
CM<2:0> = 000
Comparator with Output
CM<2:0> = 001
Comparator without Output
CM<2:0> = 010
Comparator with Output and Internal Reference
CM<2:0> = 011
COUT (pin) D
COUT (pin) I/O
COUT (pin)
COUT (pin) D
CIN-
CIN+
CIN-
CIN+
Comparator Configuration
I/O = Normal port I/O
Reads as ‘0’, unless CINV = 1.
CIN-
CIN+
CIN-
CIN+
A
A
A
A
A
I/O
A
A
I/O
COMPARATOR I/O OPERATING MODES
From CV
REF
Off
COUT
Module
(1)
COUT
COUT
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
Comparator Off (Lowest power)
CM<2:0> = 111
CIS = Comparator Input Switch (CMCON0<3>)
D = Comparator Digital Output
COUT (pin) I/O
The port pins denoted as “A” will read as a ‘0’
regardless of the state of the I/O pin or the I/O control
TRIS bit. Pins used as analog inputs should also have
the corresponding TRIS bit set to ‘1’ to disable the
digital output driver. Pins denoted as “D” should have
the corresponding TRIS bit set to ‘0’ to enable the
digital output driver.
COUT (pin) D
COUT (pin)
Note:
COUT (pin) I/O
CIN-
CIN+
CIN-
CIN+
CIN-
CIN+
CIN-
CIN+
I/O
I/O
A
A
A
A
I/O
Comparator interrupts should be disabled
during a Comparator mode change to
prevent unintended interrupts.
A
I/O
CIS = 0
CIS = 1
CIS = 0
CIS = 1
From CV
PIC12F683
From CV
From CV
REF
REF
Off
REF
Module
(1)
DS41211D-page 53
Module
Module
COUT
COUT
COUT
Related parts for PIC12F683-E/MD
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5 KB FLASH, 128 RAM, 6 I/O, PDIP
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8 PIN, 3.5KB FLASH, 128 RAM, 6 I/O
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
8-bit Microcontrollers - MCU 3.5KB 128 RAM 6 I/O
Manufacturer:
Microchip Technology
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 PDI
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 DFN
Manufacturer:
Microchip Technology
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core 8 SOI
Manufacturer:
Microchip Technology
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
Manufacturer:
Microchip Technology