PIC16LC926T-I/PT Microchip Technology, PIC16LC926T-I/PT Datasheet - Page 35
![IC MCU CMOS 20MHZ 8K W/LCD64TQFP](/photos/6/81/68123/c04-066_pf_sml.jpg)
PIC16LC926T-I/PT
Manufacturer Part Number
PIC16LC926T-I/PT
Description
IC MCU CMOS 20MHZ 8K W/LCD64TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16LC926T-I/PT
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
14KB (8K x 14)
Program Memory Type
OTP
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
336 B
Interface Type
I2C, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
25
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LC926T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
4.3
PORTC is a 6-bit, bi-directional port. Each pin is individ-
ually configurable as an input or output through the
TRISC register. PORTC is multiplexed with several
peripheral functions (Table 4-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
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 4-3:
TABLE 4-5:
TABLE 4-6:
BCF
BCF
CLRF
BSF
MOVLW
MOVWF
Name
RC0/T1OSO/T1CKI
RC1/T1OSI
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
Legend: ST = Schmitt Trigger input
07h
87h
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by PORTC.
Address
2001 Microchip Technology Inc.
while
STATUS,RP0 ; Select Bank0
STATUS,RP1
PORTC
STATUS,RP0 ; Select Bank1
0xCF
TRISC
PORTC and TRISC Register
PORTC
TRISC
Name
the
PORTC FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
peripheral
Bit 7
; Initialize PORTC
; Value used to
; initialize data
; direction
; Set RC<3:0> as inputs
; RC<5:4> as outputs
; RC<7:6> always read 0
INITIALIZING PORTC
—
—
Bit#
bit1
bit2
bit3
bit5
bit0
bit4
Buffer Type
Bit 6
—
—
is
ST
ST
ST
ST
ST
ST
enabled,
PORTC Data Direction Control Register
Bit 5
RC5
Function
Input/output port pin or Timer1 oscillator output or Timer1 clock input.
Input/output port pin or Timer1 oscillator input.
Input/output port pin or Capture input/Compare output/PWM output.
Input/output port pin or the synchronous serial clock for both SPI and
I
(I
Input/output port pin or Synchronous Serial Port data out.
Input/output port pin or the SPI Data In (SPI mode) or data I/O
2
2
C modes.
read-
Bit 4
C mode).
RC4
Preliminary
Bit 3
RC3
FIGURE 4-5:
Note 1:
Bit 2
RC2
Data Bus
WR Port
WR TRIS
RD TRIS
RD Port
RB0/INT
RBPU
2:
(2)
I/O pins have diode protection to V
To enable weak pull-ups, set the appropriate TRIS
bit(s) and clear the RBPU bit (OPTION<7>).
Bit 1
RC1
PIC16C925/926
TRIS Latch
Data Latch
D
D
CK
CK
Bit 0
RC0
Schmitt Trigger
Buffer
PORTC BLOCK DIAGRAM
(PERIPHERAL OUTPUT
OVERRIDE)
Q
Q
--xx xxxx
--11 1111
Power-on
Value on
Reset
Q
EN
DS39544A-page 33
DD
D
TTL
Input
Buffer
and V
Value on all
--uu uuuu
--11 1111
V
P
RD Port
RESETS
DD
SS
other
Weak
Pull-up
.
I/O
pin
(1)