PIC16C74B-20I/L Microchip Technology Inc., PIC16C74B-20I/L Datasheet - Page 33

no-image

PIC16C74B-20I/L

Manufacturer Part Number
PIC16C74B-20I/L
Description
44 PIN, 7 KB OTP, 192 RAM, 33 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C74B-20I/L

A/d Inputs
8-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
33
Interface
I2C/SPI/USART
Memory Type
OTP
Number Of Bits
8
Package Type
44-pin PLCC
Programmable Memory
7K Bytes
Ram Size
192 Bytes
Speed
4 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C74B-20I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
5.3
PORTC is an 8-bit bi-directional port. Each pin is indi-
vidually configurable as an input or output through the
TRISC register. PORTC is multiplexed with several
peripheral functions (Table 5-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 des-
tination should be avoided. The user should refer to the
corresponding peripheral section for the correct TRIS
bit settings.
TABLE 5-5:
TABLE 5-6:
Name
RC0/T1OSO/T1CKI
RC1/T1OSI/CCP2
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
RC7/RX/DT
Legend: ST = Schmitt Trigger input
Address
07h
87h
Legend: x = unknown, u = unchanged
2000 Microchip Technology Inc.
PORTC and TRISC Registers
PORTC
TRISC
Name
PORTC FUNCTIONS
SUMMARY OF REGISTERS ASSOCIATED WITH PORTC
PORTC Data Direction register
Bit 7
RC7
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
Bit 6
RC6
Buffer Type
ST
ST
ST
ST
ST
ST
ST
ST
Bit 5
RC5
Function
Input/output port pin or Timer1 oscillator output/Timer1 clock input.
Input/output port pin or Timer1 oscillator input or Capture2 input/Compare2
output/PWM2 output.
Input/output port pin or Capture1 input/Compare1 output/PWM1 output.
RC3 can also be the Synchronous Serial Clock for both SPI and I
RC4 can also be the SPI Data In (SPI mode) or Data I/O (I
Input/output port pin or Synchronous Serial Port Data output.
Input/output port pin or USART Asynchronous Transmit, or USART
Synchronous Clock.
Input/output port pin or USART Asynchronous Receive, or USART
Synchronous Data.
Bit 4
RC4
PIC16C63A/65B/73B/74B
Bit 3
RC3
FIGURE 5-5:
Peripheral
OE
Note 1: I/O pins have diode protection to V
PORT/PERIPHERAL Select
Peripheral Data Out
Data Bus
WR
TRIS
Peripheral Input
WR
Port
Bit 2
RC2
(3)
2: Port/Peripheral select signal selects between port
3: Peripheral OE (output enable) is only activated if
RD
Port
data and peripheral output.
peripheral select is active.
Bit 1
TRIS Latch
RC1
Data Latch
D
D
RD TRIS
CK
CK
Q
Q
Q
Q
Bit 0
RC0
PORTC BLOCK DIAGRAM
(2)
0
1
Q
xxxx xxxx
1111 1111
Value on:
POR,
BOR
EN
D
2
C mode).
DS30605C-page 33
Schmitt
Trigger
DD
V
and V
2
N
P
SS
uuuu uuuu
1111 1111
V
C modes.
DD
Value on
all other
RESETS
SS
I/O pin
.
(1)

Related parts for PIC16C74B-20I/L