PIC16C926-I/CL Microchip Technology, PIC16C926-I/CL Datasheet - Page 35
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16C926-I/CL
Manufacturer Part Number
PIC16C926-I/CL
Description
64/68-Pin CMOS Microcontrollers with LCD Driver
Manufacturer
Microchip Technology
Datasheet
1.PIC16C926-ICL.pdf
(182 pages)
- Current page: 35 of 182
- Download datasheet (4Mb)
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)
Related parts for PIC16C926-I/CL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C926/CL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU EPROM 8KX14 LCDDVR 68CLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C926-I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,68PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C926-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,TQFP,64PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C926](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
64/68-pin Cmos Microcontrollers With Lcd Driver
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16C926-T/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
64/68-Pin CMOS Microcontrollers with LCD Driver
Manufacturer:
Microchip Technology
![PIC16C54-HS/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 40MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55-RC/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C55-XT/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C74A-04/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 4MHZ, DIP-40
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: