
1996 Microchip Technology Inc.
Preliminary
DS30559A-page 127
PIC16C64X & PIC16C66X
INDEX
A
ADDLW Instruction ......................................................... 76
ADDWF Instruction ........................................................ 76
ANDLW Instruction ......................................................... 76
ANDWF Instruction ........................................................ 76
Architectural Overview ..................................................... 9
Assembler ........................................................................ 88
B
BCF Instruction ............................................................... 77
Bit Manipulation .............................................................. 74
Block Diagrams ............................................................... 30
Comparator Analog Input Mode .......................... 51
Comparator I/O Operating Modes ....................... 48
Comparator Output ................................................ 50
Crystal Operation ................................................... 57
External Brown-out Protection 1 .......................... 65
External Brown-out Protection 2 .......................... 65
External Clock Input Operation ............................ 57
External Parallel Cystal Oscillator ....................... 58
External Power-on Reset Circuit ......................... 65
External Series Crystal Oscillator ........................ 58
In-circuit Serial Programming ............................... 71
Interrupt Logic ......................................................... 66
On-chip Reset Circuit ............................................ 59
Parallel Slave Port, PORTD-PORTE .................. 39
PIC16C641 .............................................................. 10
PIC16C642 .............................................................. 10
PIC16C661 .............................................................. 11
PIC16C662 .............................................................. 11
PORTC (In I/O Port Mode) ................................... 34
PORTD (In I/O Port Mode) ................................... 35
PORTE (In I/O Port Mode) ................................... 37
RA1:RA0 pins .......................................................... 29
RA3 pin ..................................................................... 30
RA4 pin ..................................................................... 31
RB3:RB0 pins .......................................................... 32
RB7:RB4 pins .......................................................... 32
RC Oscillator ........................................................... 58
Single Comparator ................................................. 49
Timer0 ...................................................................... 41
Timer0/WDT Prescaler .......................................... 44
Voltage Reference ................................................. 53
Voltage Reference Output Buffer ........................ 54
Watchdog Timer ..................................................... 69
Brown-out Reset (BOR) ................................................ 60
BSF Instruction ............................................................... 77
BTFSC Instruction .......................................................... 77
BTFSS Instruction .......................................................... 78
C
C Compiler (MPLAB-C) ................................................. 89
CALL Instruction ............................................................. 78
Clocking Scheme/Instruction Cycle ............................. 15
CLRF Instruction ............................................................. 78
CLRW Instruction ........................................................... 78
CLRWDT Instruction ...................................................... 79
CMCON Register ............................................................ 47
Code Examples
Changing Prescaler (T0 to WDT) ........................ 45
Changing Prescaler (WDT to T0) ........................ 45
Indirect Addressing ................................................ 28
Initializing Comparator Module ............................ 49
Initializing PORTA .................................................. 29
Initializing PORTC .................................................. 34
Read-Modify-Write Instructions on an I/O Port .38
Saving the STATUS and W Registers in RAM .68
Voltage Reference Configuration ........................ 54
Code Protection .............................................................. 71
COMF Instruction ........................................................... 79
Comparator Configuration ............................................ 48
Comparator Interrupt ..................................................... 51
Comparator Module ....................................................... 47
Comparator Operation .................................................. 49
Comparator Reference .................................................. 49
Configuration Bits ........................................................... 56
Configuring the Voltage Reference ............................. 54
D
Data Memory Organization .......................................... 18
DECF Instruction ............................................................ 79
DECFSZ Instruction ....................................................... 79
Development Support .................................................... 87
Development Tools ........................................................ 87
Device Drawings
28-Lead Ceramic CERDIP Dual In-line with Win-
dow (300 mil)) ....................................... 107
28-Lead Ceramic Dual In-Line with Window (JW) -
(300 mil) ................................................. 107
28-Lead Plastic Small Outline (SO) - Wide, 300 mil
Body ....................................................... 106
28-Lead Skinny Plastic Dual In-Line (SP) -
300 mil ................................................... 105
40-Lead Ceramic Dual In-Line with Window
(JW) - (600 mil) ..................................... 108
40-Lead Plastic Dual In-Line (P) - 600 mil ....... 109
44-Lead Plastic Leaded Chip Carrier (L) -
Square ................................................... 110
44-Lead Plastic Quad Flatpack (PQ) - 10x10x2
mm Body 1.6/0.15 mm Lead Form ... 111
F
Family of Devices
PIC14XXX ............................................................. 117
PIC16C5X ............................................................. 118
PIC16C64X ................................................................6
PIC16C66X ................................................................6
PIC16C6X ............................................................. 120
PIC16C7X ............................................................. 121
PIC16C8X ............................................................. 122
PIC16C9XX ........................................................... 123
PIC16CXXX .......................................................... 119
PIC17CXX ............................................................. 124
Fuzzy Logic Dev. System (
fuzzyTECH
-MP) .... 87, 89
G
General Purpose Register File .................................... 18
GOTO Instruction ........................................................... 80
This document was created with FrameMaker404