PIC16F946T-I/PT Microchip Technology, PIC16F946T-I/PT Datasheet - Page 97

Microcontroller

PIC16F946T-I/PT

Manufacturer Part Number
PIC16F946T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
8.0
The
comparators. The inputs to the comparators are
multiplexed with I/O port pins RA<3:0>, while the outputs
are multiplexed to pins RA<5:4>. An on-chip Comparator
Voltage Reference (CV
inputs of the comparators.
REGISTER 8-1:
© 2005 Microchip Technology Inc.
Comparator
COMPARATOR MODULE
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
module
CMCON0 – COMPARATOR CONFIGURATION REGISTER (ADDRESS: 9Ch)
REF
C2OUT: Comparator 2 Output bit
When C2INV = 0:
When C2INV = 1:
C1OUT: Comparator 1 Output bit
When C1INV = 0:
When C1INV = 1:
C2INV: Comparator 2 Output Inversion bit
1 = C2 Output inverted
0 = C2 Output not inverted
C1INV: Comparator 1 Output Inversion bit
1 = C1 Output inverted
0 = C1 Output not inverted
CIS: Comparator Input Switch bit
When CM<2:0> = 010:
When CM<2:0> = 001:
When CM<2:0> = 101:
CM<2:0>: Comparator Mode bits
See Figure 8-3 for comparator modes and CM<2:0> bit settings.
Legend:
R = Readable bit
- n = Value at POR
bit 7
C2OUT
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry,
) can also be applied to the
R-0
1 = C2 V
0 = C2 V
0 = C2 V
1 = C2 V
1 = C1 V
0 = C1 V
0 = C1 V
1 = C1 V
1 = C1 V
0 = C1 V
1 = C1 V
0 = C1 V
1 = C2 V
0 = C2 V
contains
C2 V
C2 V
weak pull-ups, and interrupt-on-change, if available. The corresponding TRIS bit
must be set to Input mode in order to allow external control of the voltage on the pin.
C1OUT
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
R-0
+ > C2 V
+ < C2 V
+ > C2 V
+ < C2 V
+ > C1 V
+ < C1 V
+ > C1 V
+ < C1 V
- connects to RA3/AN3/C1+/V
- connects to RA2/AN2/C2+/V
- connects to RA0/AN0/C1-/SEG12
- connects to RA1/AN1/C2-/SEG7
- connects to RA3/AN3/C1+/V
- connects to RA0/AN0/C1-/SEG12
+ connects to internal 0.6V reference
+ connects to RA2/AN2/C2+/V
two
analog
IN
IN
IN
IN
IN
IN
IN
IN
C2INV
R/W-0
-
-
-
-
-
-
-
-
Preliminary
W = Writable bit
‘1’ = Bit is set
(1)
C1INV
R/W-0
The CMCON0 register (Register 8-1) controls the
comparator input and output multiplexers. A block
diagram of the various comparator configurations is
shown in Figure 8-3.
REF
REF
REF
REF
+/SEG15
-/COM2
+/SEG15
R/W-0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
-/COM2
CIS
R/W-0
CM2
PIC16F946
x = Bit is unknown
R/W-0
CM1
DS41265A-page 95
R/W-0
CM0
bit 0

Related parts for PIC16F946T-I/PT