
1996 Microchip Technology Inc.
Preliminary
DS30559A-page 127
PIC16C64X & PIC16C66X
INDEX
A
ADDLW Instruction
ADDWF Instruction
ANDLW Instruction
ANDWF Instruction
Architectural Overview
Assembler
........................................................................88
.........................................................76
........................................................76
.........................................................76
........................................................76
.....................................................9
B
BCF Instruction
Bit Manipulation
Block Diagrams
Comparator Analog Input Mode
Comparator I/O Operating Modes
Comparator Output
Crystal Operation
External Brown-out Protection 1
External Brown-out Protection 2
External Clock Input Operation
External Parallel Cystal Oscillator
External Power-on Reset Circuit
External Series Crystal Oscillator
In-circuit Serial Programming
Interrupt Logic
.........................................................66
On-chip Reset Circuit
............................................59
Parallel Slave Port, PORTD-PORTE
PIC16C641
..............................................................10
PIC16C642
..............................................................10
PIC16C661
..............................................................11
PIC16C662
..............................................................11
PORTC (In I/O Port Mode)
PORTD (In I/O Port Mode)
PORTE (In I/O Port Mode)
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
Voltage Reference
.................................................53
Voltage Reference Output Buffer
Watchdog Timer
.....................................................69
Brown-out Reset (BOR)
................................................60
BSF Instruction
...............................................................77
BTFSC Instruction
..........................................................77
BTFSS Instruction
..........................................................78
...............................................................77
..............................................................74
...............................................................30
..........................51
.......................48
................................................50
...................................................57
..........................65
..........................65
............................57
.......................58
.........................65
........................58
...............................71
..................39
...................................34
...................................35
...................................37
..........................................44
........................54
C
C Compiler (MPLAB-C)
CALL Instruction
Clocking Scheme/Instruction Cycle
CLRF Instruction
.............................................................78
CLRW Instruction
...........................................................78
CLRWDT Instruction
......................................................79
CMCON Register
............................................................47
.................................................89
.............................................................78
.............................15
Code Examples
Changing Prescaler (T0 to WDT)
Changing Prescaler (WDT to T0)
Indirect Addressing
Initializing Comparator Module
Initializing PORTA
Initializing PORTC
Read-Modify-Write Instructions on an I/O Port
Saving the STATUS and W Registers in RAM
Voltage Reference Configuration
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
........................ 45
........................ 45
................................................ 28
............................ 49
.................................................. 29
.................................................. 34
. 38
. 68
........................ 54
............................. 54
D
Data Memory Organization
DECF Instruction
DECFSZ Instruction
Development Support
Development Tools
Device Drawings
28-Lead Ceramic CERDIP Dual In-line with Win-
dow (300 mil))
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)
40-Lead Plastic Dual In-Line (P) - 600 mil
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
.......................................... 18
............................................................ 79
....................................................... 79
.................................................... 87
........................................................ 87
....................................... 107
..................................... 108
....... 109
... 111
F
Family of Devices
PIC14XXX
PIC16C5X
PIC16C64X
PIC16C66X
PIC16C6X
PIC16C7X
PIC16C8X
PIC16C9XX
PIC16CXXX
PIC17CXX
Fuzzy Logic Dev. System (
............................................................. 117
............................................................. 118
................................................................6
................................................................6
............................................................. 120
............................................................. 121
............................................................. 122
........................................................... 123
.......................................................... 119
............................................................. 124
fuzzy
TECH
-MP)
.... 87, 89
G
General Purpose Register File
GOTO Instruction
.................................... 18
........................................................... 80
This document was created with FrameMaker 4 0 4