PIC12F639 Microchip Technology, PIC12F639 Datasheet - Page 65
PIC12F639
Manufacturer Part Number
PIC12F639
Description
(PIC12F635 / PIC12F636 / PIC12F639) 8/14-PIN FLASH-BASED / 8-BIT CMOS MICROCONTROLLERS WITH NANOWATT TECHNOLOGY
Manufacturer
Microchip Technology
Datasheet
1.PIC12F639.pdf
(196 pages)
- Current page: 65 of 196
- Download datasheet (4Mb)
7.3
There are eight modes of operation for the comparators.
The CMCON0 register is used to select these modes.
Figure 7-3 and Figure 7-4 show the eight possible
modes. The TRISA and TRISC registers control the data
direction of the comparator output pins for each mode. 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 7-3:
© 2005 Microchip Technology Inc.
Note:
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’
Note 1:
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
Comparator Configuration
Comparator interrupts should be disabled
during a Comparator mode change.
Otherwise, a false interrupt may occur.
D = Digital Input
Lowest power statement assures valid digital stats on GPO, GP1 and GP2.
A
A
A
A
A
D
A
A
COMPARATOR I/O OPERATING MODES FOR PIC12F635
From CV
REF
Module
Off (Read as ‘0’)
C1OUT
C1OUT
C1OUT
PIC12F635/PIC16F636/639
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/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
GP1/CIN-
GP0/CIN+
GP2/C1OUT D
D
D
A
D
A
A
A
A
CIS = 0
CIS = 1
CIS = 0
CIS = 1
From CV
From CV
From CV
REF
(1)
Module
REF
REF
Off (Read as ‘0’)
C1OUT
Module
DS41232B-page 63
Module
C1OUT
C1OUT
Related parts for PIC12F639
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
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
Part Number:
Description:
7 KB Flash, 256 Bytes RAM, 32 MHz Int. Osc, 6 I/0, Enhanced Mid Range Core, Nano
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:
8-Pin/ 8-Bit CMOS Microcontroller with EEPROM Data Memory
Manufacturer:
Microchip Technology
Part Number:
Description:
IC, 8BIT MCU, PIC12, 32MHZ, DFN-8
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC, 8BIT MCU, PIC12, 32MHZ, DFN-8
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
Photo IC(photodiode with signal processing)
Manufacturer:
KODENSHI KOREA CORP
Datasheet: