PIC16LF72-I/SP Microchip Technology, PIC16LF72-I/SP Datasheet - Page 27

IC PIC MCU FLASH 2KX14 28DIP

PIC16LF72-I/SP

Manufacturer Part Number
PIC16LF72-I/SP
Description
IC PIC MCU FLASH 2KX14 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16LF72-I/SP

Core Size
8-Bit
Program Memory Size
3.5KB (2K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI
Number Of I /o
22
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16LF
No. Of I/o's
22
Ram Memory Size
128Byte
Cpu Speed
16MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LF72-I/SP
Manufacturer:
MICROCHIP
Quantity:
6 000
3.3
PORTC is an 8-bit wide, bi-directional port. The corre-
sponding data direction register is TRISC. Setting a
TRISC bit (= 1) will make the corresponding PORTC
pin an input (i.e., put the corresponding output driver in
a Hi-Impedance mode). Clearing a TRISC bit (= 0) will
make the corresponding PORTC pin an output (i.e., put
the contents of the output latch on the selected pin).
PORTC is multiplexed with several peripheral functions
(Table 3-5). PORTC pins have Schmitt Trigger input
buffers.
When enabling peripheral functions, care should be
taken in defining TRIS bits for each PORTC pin. Some
peripherals override the TRIS bit to make a pin an out-
put, while other peripherals override the TRIS bit to
make a pin an input. Since the TRIS bit override is in
effect while the peripheral is enabled, read-modify-
write instructions (BSF, BCF, XORWF) with TRISC as
destination should be avoided. The user should refer to
the corresponding peripheral section for the correct
TRIS bit settings.
EXAMPLE 3-3:
 2002 Microchip Technology Inc.
BANKSEL
CLRF
BANKSEL
MOVLW
MOVWF
PORTC and the TRISC Register
PORTC
PORTC
TRISC
0xCF
TRISC
INITIALIZING PORTC
; Select Bank for PORTC
; Initialize PORTC by
; clearing output
; data latches
; Select Bank for TRISC
; Value used to
; initialize data
; direction
; Set RC<3:0> as inputs
; RC<5:4> as outputs
; RC<7:6> as inputs
FIGURE 3-5:
Peripheral
OE
Note 1: Port/Peripheral select signal selects
Peripheral Input
WR
TRIS
Peripheral Data Out
Data
Bus
WR
Port
Port/Peripheral Select
(2)
2: Peripheral OE (output enable) is only
RD
Port
between port data and peripheral output.
activated if peripheral select is active.
TRIS Latch
Data Latch
D
D
CK
RD TRIS
CK
Q
Q
Q
Q
PORTC BLOCK DIAGRAM
(PERIPHERAL OUTPUT
OVERRIDE)
(1)
0
1
Q
PIC16F72
EN
D
Schmitt
Trigger
DS39597B-page 25
V
V
N
P
SS
DD
V
V
DD
SS
I/O
pin

Related parts for PIC16LF72-I/SP