PIC16LF721-I/SS Microchip Technology, PIC16LF721-I/SS Datasheet - Page 62
![MCU PIC 4K FLASH 20-SSOP](/photos/19/6/190623/4696163_sml.jpg)
PIC16LF721-I/SS
Manufacturer Part Number
PIC16LF721-I/SS
Description
MCU PIC 4K FLASH 20-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Specifications of PIC16LF721-I/SS
Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
17
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 12x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP (0.200", 5.30mm Width)
Controller Family/series
PIC16LF
No. Of I/o's
18
Ram Memory Size
256Byte
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
- Current page: 62 of 244
- Download datasheet (3Mb)
PIC16F/LF720/721
6.3
PORTC is a 8-bit wide, bidirectional port. The
corresponding
(Register
corresponding PORTC pin an input (i.e., put the
corresponding output driver in a High-Impedance mode).
Clearing a TRISC bit (= 0) will make the corresponding
PORTC pin an output (i.e., enable the output driver and
put the contents of the output latch on the selected pin).
Example 6-3
Reading the PORTC register
status of the pins, whereas writing to it will write to the
PORT latch. All write operations are read-modify-write
operations. Therefore, a write to a port implies that the
port pins are read, this value is modified and then written
to the PORT data latch.
REGISTER 6-11:
DS41430A-page 62
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
R/W-x
RC7
PORTC and TRISC Registers
6-12). Setting a TRISC bit (= 1) will make the
shows how to initialize PORTC.
data
RC<7:0>: PORTC General Purpose I/O Pin bits
1 = Port pin is > V
0 = Port pin is < V
R/W-x
RC6
PORTC: PORTC REGISTER
direction
(Register
W = Writable bit
‘1’ = Bit is set
register
R/W-x
IH
IL
RC5
6-11) reads the
is
TRISC
R/W-x
RC4
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-x
The TRISC register
pin output drivers, even when they are being used as
analog inputs. The user should ensure the bits in the
TRISC register are maintained set when using them as
analog inputs. I/O pins configured as analog input always
read ‘0’.
EXAMPLE 6-3:
6.3.1
The ANSELC register
configure the Input mode of an I/O pin to analog.
Setting the appropriate ANSELC bit high will cause all
digital reads on the pin to be read as ‘0’ and allow
analog functions on the pin to operate correctly.
The state of the ANSELC bits has no effect on digital
output functions. A pin with TRIS clear and ANSELC
set will still operate as a digital output, but the Input
mode will be analog. This can cause unexpected
behavior
instructions on the affected port.
RC3
BANKSEL PORTC
CLRF
BANKSEL TRISC
MOVLW
MOVWF
PORTC
B‘00001100’
TRISC
ANSELC REGISTER
when
R/W-x
RC2
(Register
INITIALIZING PORTC
executing
2010 Microchip Technology Inc.
;
;Init PORTC
;
;Set RC<3:2> as inputs
;and set RC<7:4,1:0>
;as outputs
(Register
x = Bit is unknown
6-12) controls the PORTC
R/W-x
RC1
6-13) is used to
read-modify-write
R/W-x
RC0
bit 0
Related parts for PIC16LF721-I/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LF72-I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 2KX14 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF72-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 2KX14 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF72-I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 2KX14 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF72-I/SOG](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 2KX14 28SOIC
Manufacturer:
Microchip Technology
![PIC16LF72-I/MLG](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 2KX14 28QFN
Manufacturer:
Microchip Technology
![PIC16LF72-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 2KX14 28SSOP
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:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: