PIC16F87-I/ML Microchip Technology, PIC16F87-I/ML Datasheet - Page 123

IC MCU FLASH 4KX14 EEPROM 28QFN

PIC16F87-I/ML

Manufacturer Part Number
PIC16F87-I/ML
Description
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F87-I/ML

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Oscillator Type
Internal
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNAC164322 - MODULE SOCKET MPLAB PM3 28/44QFNAC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
13.0
The
comparators. The inputs to the comparators are
multiplexed with I/O port pins RA0 through RA3, while
the outputs are multiplexed to pins RA3 and RA4. The
on-chip Voltage Reference (Section 14.0 “Comparator
Voltage Reference Module”) can also be an input to
the comparators.
REGISTER 13-1:
 2005 Microchip Technology Inc.
comparator
COMPARATOR MODULE
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
module
CMCON: COMPARATOR MODULE CONTROL REGISTER (ADDRESS 9Ch)
bit 7
C2OUT: Comparator 2 Output bit
When C2INV = 0:
1 = C2 V
0 = C2 V
When C2INV = 1:
1 = C2 V
0 = C2 V
C1OUT: Comparator 1 Output bit
When C1INV = 0:
1 = C1 V
0 = C1 V
When C1INV = 1:
1 = C1 V
0 = C1 V
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 CM2:CM0 = 001:
1 = C1 V
0 = C1 V
When CM2:CM0 = 010:
1 = C1 V
0 = C1 V
CM<2:0>: Comparator Mode bits
Legend:
R = Readable bit
-n = Value at POR
C2OUT
C2 V
C2 V
R-0
contains
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
+ > C2 V
+ < C2 V
+ < C2 V
+ > C2 V
+ > C1 V
+ < C1 V
+ < C1 V
+ > C1 V
- connects to RA3
- connects to RA0
- connects to RA3
- connects to RA2
- connects to RA0
- connects to RA1
C1OUT
R-0
two
IN
IN
IN
IN
IN
IN
IN
IN
-
-
-
-
-
-
-
-
analog
C2INV
R/W-0
W = Writable bit
‘1’ = Bit is set
C1INV
R/W-0
The CMCON register (Register 13-1) controls the
comparator input and output multiplexors. A block
diagram of the various comparator configurations is
shown in Figure 13-1.
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
CIS
PIC16F87/88
R/W-1
CM2
x = Bit is unknown
R/W-1
CM1
DS30487C-page 121
R/W-1
CM0
bit 0

Related parts for PIC16F87-I/ML