PIC12F635-I/MD Microchip Technology, PIC12F635-I/MD Datasheet - Page 78

no-image

PIC12F635-I/MD

Manufacturer Part Number
PIC12F635-I/MD
Description
IC PIC MCU FLASH 1KX14 8DFN
Manufacturer
Microchip Technology
Series
PIC® 12Fr
Datasheets

Specifications of PIC12F635-I/MD

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
5
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DFN
Controller Family/series
PIC12
No. Of I/o's
6
Eeprom Memory Size
128Byte
Ram Memory Size
64Byte
Cpu Speed
20MHz
No. Of Timers
2
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164326 - MODULA SKT PM3 20QFNXLT08DFN2 - SOCKET TRANSITION ICE 14DIP/8DFNAC162057 - MPLAB ICD 2 HEADER 14DIPXLT08DFN - SOCKET TRANSITION ICE 8DFN
Data Converters
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F635-I/MD
0
PIC12F635/PIC16F636/639
7.4
The CMCON0 register (Register 7-1) provides access
to the following comparator features:
• Mode selection
• Output state
• Output polarity
• Input switch
7.4.1
Each comparator state can always be read internally
via the CxOUT bit of the CMCON0 register. The com-
parator state may also be directed to the CxOUT pin in
the following modes:
PIC12F635
• CM<2:0> = 001
• CM<2:0> = 011
• CM<2:0> = 101
PIC16F636/639
• CM<2:0> = 110
When one of the above modes is selected, the
associated TRIS bit of the CxOUT pin must be cleared.
7.4.2
Inverting the output of a comparator is functionally
equivalent to swapping the comparator inputs. The
polarity of a comparator output can be inverted by set-
ting the C
C
table showing the output state versus input conditions
and the polarity bit is shown in Table 7-1.
TABLE 7-1:
DS41232D-page 76
X
Note:
INV results in a non-inverted output. A complete
Input Conditions
V
V
V
V
IN
IN
IN
IN
Comparator Control
X
- > V
- < V
- > V
- < V
INV bit of the CMCON0 register. Clearing
COMPARATOR OUTPUT STATE
COMPARATOR OUTPUT POLARITY
CxOUT refers to both the register bit and
output pin.
IN
IN
IN
IN
+
+
+
+
OUTPUT STATE VS. INPUT
CONDITIONS
CxINV
0
0
1
1
CxOUT
0
1
1
0
7.4.3
The inverting input of the comparators may be switched
between two analog pins in the following modes:
PIC12F635
• CM<2:0> = 101
• CM<2:0> = 110
PIC16F636/639
• CM<2:0> = 001 (Comparator C1 only)
• CM<2:0> = 010 (Comparators C1 and C2)
In the above modes, both pins remain in Analog mode
regardless of which pin is selected as the input. The
CIS bit of the CMCON0 register controls the comparator
input switch.
COMPARATOR INPUT SWITCH
© 2007 Microchip Technology Inc.

Related parts for PIC12F635-I/MD