PIC16C66-04E/SP Microchip Technology, PIC16C66-04E/SP Datasheet - Page 55
![IC MCU OTP 8KX14 PWM 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16C66-04E/SP
Manufacturer Part Number
PIC16C66-04E/SP
Description
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F818-ISO.pdf
(6 pages)
3.PIC16LC62A-04SP.pdf
(337 pages)
4.PIC16C66-04SO.pdf
(6 pages)
Specifications of PIC16C66-04E/SP
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
14KB (8K x 14)
Program Memory Type
OTP
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
- PIC16F616T-ISL PDF datasheet
- PIC16F818-ISO PDF datasheet #2
- PIC16LC62A-04SP PDF datasheet #3
- PIC16C66-04SO PDF datasheet #4
- Current page: 55 of 337
- Download datasheet (3Mb)
5.3
PORTC is an 8-bit wide bi-directional port. Each pin is
individually 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
destination should be avoided. The user should refer to
the corresponding peripheral section for the correct
TRIS bit settings.
EXAMPLE 5-3:
BCF
BCF
CLRF
BSF
MOVLW
MOVWF
TABLE 5-5:
Applicable Devices
61 62 62A R62 63 R63 64 64A R64 65 65A R65 66 67
Name
RC0/T1OSI/T1CKI
RC1/T1OSO
RC2/CCP1
RC3/SCK/SCL
RC4/SDI/SDA
RC5/SDO
RC6
RC7
Legend: ST = Schmitt Trigger input
1997 Microchip Technology Inc.
STATUS, RP0
STATUS, RP1
PORTC
STATUS, RP0
0xCF
TRISC
PORTC and TRISC Register
PORTC FUNCTIONS FOR PIC16C62/64
INITIALIZING PORTC
Bit# Buffer Type Function
bit1
bit2
bit3
bit4
bit5
bit6
bit7
bit0
;
; PIC16C66/67 only
; Initialize PORTC by
; clearing output
; data latches
; Select Bank 1
; Value used to
; initialize data
; direction
; Set RC<3:0> as inputs
; RC<5:4> as outputs
; RC<7:6> as inputs
ST
ST
ST
ST
ST
ST
ST
ST
RC3 can also be the synchronous serial clock for both SPI and I
Input/output port pin or synchronous serial port data output
Input/output port pin or Timer1 oscillator input or Timer1 clock input
Input/output port pin or Timer1 oscillator output
Input/output port pin or Capture1 input/Compare1 output/PWM1 output
RC4 can also be the SPI Data In (SPI mode) or data I/O (I
Input/output port pin
Input/output port pin
FIGURE 5-6:
PORT/PERIPHERAL Select
Peripheral Data Out
Data bus
Note 1: I/O pins have diode protection to V
Peripheral input
Peripheral
OE
WR
TRIS
WR
PORT
(3)
2: Port/Peripheral select signal selects between port
3: Peripheral OE (output enable) is only activated if
data and peripheral output.
peripheral select is active.
RD
PORT
TRIS Latch
Data Latch
D
D
CK
RD TRIS
CK
PORTC BLOCK DIAGRAM
Q
Q
Q
Q
0
1
(2)
PIC16C6X
Q
EN
D
DS30234D-page 55
2
Schmitt
Trigger
C mode).
DD
V
2
V
N
P
C modes.
and V
SS
DD
I/O
pin
SS
(1)
.
Related parts for PIC16C66-04E/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C66-20/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-10/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-10I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-20/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-20I/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-04/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-04I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-20I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-04/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-10/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-04I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-10I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-20E/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66/JW](/photos/7/29/72984/150-28-cdip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C66-04E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 8KX14 PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet: