PIC16C782-E/SS Microchip Technology, PIC16C782-E/SS Datasheet - Page 91
![IC PIC MCU FLASH 8BIT 2K 20SSOP](/photos/6/58/65895/150-20-ssop_sml.jpg)
PIC16C782-E/SS
Manufacturer Part Number
PIC16C782-E/SS
Description
IC PIC MCU FLASH 8BIT 2K 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16C781-ISO.pdf
(186 pages)
2.PIC16C781-ISO.pdf
(8 pages)
3.PIC16C781-ISO.pdf
(8 pages)
Specifications of PIC16C782-E/SS
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x8b; D/A 1x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
- Current page: 91 of 186
- Download datasheet (4Mb)
12.0
The comparator module has two separate voltage com-
parators: Comparator C1 and Comparator C2 (see
Figure 12-1).
Each comparator offers the following list of features:
• Control and configuration register
• Comparator output available externally
• Programmable output polarity
• Interrupt-on-change flags
• Wake-up from SLEEP
• Configurable as feedback input to the PSMC
• Programmable four input multiplexer
• Programmable reference selections
• Programmable speed
• Output synchronization to Timer1 clock input
12.1
Both comparators have separate control and configura-
tion registers: CM1CON0 for C1 and CM2CON0 for C2.
In addition, Comparator C2 has a second control regis-
ter, CM2CON1, for synchronization control and simul-
taneous reading of both comparator outputs.
12.1.1
The CM1CON0 register (shown in Register 12-1) con-
tains the control and status bits for the following:
• Comparator enable
• Comparator input selection
• Comparator reference selection
• Output mode
• Comparator speed
Setting C1ON (CM1CON0<7>) enables Comparator
C1 for operation.
Bits C1CH<1:0> (CM1CON0<1:0>) select the compar-
ator input from the four analog pins AN<7:4>.
(Comparator C2 only)
Note:
2001 Microchip Technology Inc.
COMPARATOR MODULE
Control Registers
To use AN<7:4> as analog inputs, the
appropriate bits must be programmed in
the ANSEL register.
COMPARATOR C1 CONTROL
REGISTER
Preliminary
Setting C1R (CM1CON0<2>) selects the output of the
DAC module as the reference voltage for the compara-
tor. Clearing C1R selects the V
AN3/V
The output of the comparator is available internally via
the C1OUT flag (CM1CON0<6>). To make the output
available for an external connection, the C1OE flag
(CM1CON0<5>) must be set. If the module is disabled
with C1OE set, the output will be driven as shown in
Table 12-2:
The polarity of the comparator output can be inverted
by setting the C1POL flag (CM1CON0<4>). Clearing
C1POL results in a non-inverted output. A complete
table showing the output state versus input conditions
and the polarity bit is shown in Table 12-2.
TABLE 12-1:
C1SP (CM1CON0<3>) configures the speed of the
comparator. When C1SP is set, the comparator oper-
ates at its normal speed. Clearing C1SP operates the
comparator in a slower, low power mode.
Input Condition
Note 1: The internal output of the comparator is
C1VN > C1VP
C1VN < C1VP
C1VN > C1VP
C1VN < C1VP
REF
2: The C1 interrupt will operate correctly
3: For the output of C1 on RB6/C1/
1 pin.
latched at the end of each instruction
cycle. External outputs are not latched.
with C1OE set or cleared.
PSMC1A, the PSMC must be disabled
and TRISB<6> must be ‘0’.
PIC16C781/782
OUTPUT STATE VERSUS
INPUT CONDITIONS
C1POL
0
0
1
1
REF
1 input on the RA3/
DS41171A-page 89
C1OUT
0
1
1
0
Related parts for PIC16C782-E/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C782-I/P](/photos/12/13/121303/150-20-dip_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 8BIT 2K 20MHZ 20-DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C782-E/P](/photos/12/13/121303/150-20-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8BIT 2K 20DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C782-I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 8BIT 2K 20MHZ 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C782-E/SO](/photos/6/64/66480/150-20-soic_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8BIT 2K 20SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C782/JW](/photos/12/13/121360/150-20-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 2KX14 COMP 20CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C782-I/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
3.5 KB OTP, 128 RAM, 16 I/O 20 SOIC .300in TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C782](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
8-bit Cmos Microcontrollers With A/d, D/a, Opamp, Comparators And Psmc
Manufacturer:
Microchip Technology Inc.
Datasheet:
![AC163004](/photos/26/90/269054/ac163004_tmb.jpg)
Part Number:
Description:
BOARD DEMO FLOW RATE SENSOR MSC1
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C54-HS/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 40MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55-RC/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55-XT/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C74A-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-40
Manufacturer:
Microchip Technology
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: