PIC16LC770-E/SO Microchip Technology, PIC16LC770-E/SO Datasheet - Page 27
![IC MCU OTP 2KX14 A/D PWM 20SOIC](/photos/6/64/66480/150-20-soic_sml.jpg)
PIC16LC770-E/SO
Manufacturer Part Number
PIC16LC770-E/SO
Description
IC MCU OTP 2KX14 A/D PWM 20SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16LC770-E/SO
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
15
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 6x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Other names
PIC16LC770E/SO
- Current page: 27 of 220
- Download datasheet (4Mb)
3.0
Some pins for these I/O ports are multiplexed with an
alternate function for the peripheral features on the
device. In general, when a peripheral is enabled, that
pin may not be used as a general purpose I/O pin.
Additional information on I/O ports may be found in the
PICmicro™ Mid-Range MCU Family Reference Man-
ual, (DS33023).
3.1
The PIC16C717/770/771 have two I/O ports: PORTA
and PORTB. Some of these port pins are mixed-signal
(can be digital or analog). When an analog signal is
REGISTER 3-1:
3.2
PORTA is a 8-bit wide bi-directional port. The corre-
sponding data direction register is TRISA. Setting a
TRISA bit (=1) will make the corresponding PORTA pin
an input (i.e., put the corresponding output driver in a
Hi-impedance mode). Clearing a TRISA bit (=0) will
make the corresponding PORTA pin an output (i.e., put
the contents of the output latch on the selected pin).
Reading the PORTA register reads the 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.
Pins RA<3:0> are multiplexed with analog functions,
such as analog inputs to the A/D converter, analog
V
puts. When the analog peripherals are using any of
REF
2002 Microchip Technology Inc.
inputs, and the onboard bandgap reference out-
I/O PORTS
I/O Port Analog/Digital Mode
PORTA and the TRISA Register
bit 7-6
bit 5-0
ANALOG SELECT REGISTER (ANSEL: 9Dh)
Reserved: Do not use
ANS<5:0>: Analog Select between analog or digital function on pins AN<5:0>, respectively.
0 = Digital I/O. Pin is assigned to port or special function.
1 = Analog Input. Pin is assigned as analog input.
bit 7
Legend:
R = Readable bit
- n = Value at POR
Note:
R/W-1
—
Setting a pin to an analog input disables the digital input buffer on the pin. The cor-
responding TRIS bit should be set to Input mode when using pins as analog inputs.
R/W-1
—
R/W-1
ANS5
W = Writable bit
’1’ = Bit is set
R/W-1
ANS4
present on a pin, the pin must be configured as an ana-
log input to prevent unnecessary current draw from the
power supply. The Analog Select Register (ANSEL)
allows the user to individually select the Digital/Analog
mode on these pins. When the Analog mode is active,
the port pin will always read 0.
these pins as analog input/output, the ANSEL register
must have the proper value to individually select the
Analog mode of the corresponding pins.
Pin RA4 is multiplexed with the Timer0 module clock
input to become the RA4/T0CKI pin. The RA4/T0CKI
pin is a Schmitt Trigger input and an open drain output.
Pin RA5 is multiplexed with the device RESET (MCLR)
and programming input (V
MCLR/V
buffer. All other RA port pins have Schmitt Trigger input
buffers and full CMOS output buffers.
Pins RA6 and RA7 are multiplexed with the oscillator
input and output functions.
The TRISA register controls the direction of the RA
pins, even when they are being used as analog inputs.
The user must ensure the bits in the TRISA register are
maintained set when using them as analog inputs.
Note:
Note 1: On a Power-on Reset, the ANSEL regis-
PIC16C717/770/771
PP
2: If a pin is configured as Analog mode, the
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
R/W-1
ANS3
Upon RESET, the ANSEL register config-
ures the RA<3:0> pins as analog inputs.
All RA<3:0> pins will read as '0'.
input only pin has a Schmitt Trigger input
ter configures these mixed-signal pins as
Analog mode.
RA pin will always read '0' and RB pin will
always read '1', even if the digital output is
active.
R/W-1
ANS2
PP
) functions. The RA5/
x = Bit is unknown
R/W-1
ANS1
DS41120B-page 25
R/W-1
ANS0
bit 0
Related parts for PIC16LC770-E/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LC77-04I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04I/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
44 PIN, 14KB OTP, 368 RAM, 33 I/O,
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LC77-04I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 A/D PWM 44TQFP
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: