Datasheet

1997 Microchip Technology Inc. DS30444E - page 177
PIC16C9XX
INDEX
A
A/D
Accuracy/Error ............................................................ 86
ADCON0............................................................... 79, 80
ADCON1............................................................... 79, 80
ADIF............................................................................ 80
Analog-to-Digital Converter......................................... 79
Configuring Analog Port.............................................. 83
Connection Considerations......................................... 87
Conversion time.......................................................... 85
Conversions................................................................ 84
Converter Characteristics ......................................... 158
Faster Conversion - Lower Resolution Tradeoff ......... 85
GO/DONE................................................................... 80
Internal Sampling Switch (Rss) Impedance................ 82
Operation During Sleep .............................................. 86
Sampling Requirements.............................................. 82
Sampling Time............................................................ 82
Source Impedance...................................................... 82
Transfer Function........................................................ 87
A/D Conversion Clock......................................................... 83
Registers
Section........................................................................ 19
Absolute Maximum Ratings .............................................. 141
ACK............................................................. 70, 74, 75, 76, 77
ADCON0 Register............................................................... 19
ADCON1 Register............................................................... 20
ADIE bit............................................................................... 26
ADIF bit ............................................................................... 27
ADRES............................................................ 19, 79, 80, 109
ALU ....................................................................................... 9
Application Notes
AN546......................................................................... 79
AN552......................................................................... 33
AN556......................................................................... 29
AN578......................................................................... 63
AN594......................................................................... 57
AN607....................................................................... 107
Architecture
Harvard ......................................................................... 9
Overview....................................................................... 9
von Neumann................................................................ 9
Assembler
MPASM Assembler................................................... 138
B
BF ....................................................................................... 74
Block Diagrams
A/D.............................................................................. 81
Capture Mode ............................................................. 58
Compare Mode ........................................................... 58
External Brown-out1 ................................................. 112
External Brown-out2 ................................................. 112
External Parallel Cystal Oscillator............................. 105
External Power-on Reset.......................................... 112
External Series Crystal Oscillator ............................. 105
Interrupt Logic........................................................... 114
LCD Module................................................................ 90
On-Chip Reset Circuit............................................... 106
PIC16C923 ................................................................. 10
PIC16C924 ................................................................. 11
PORTC ....................................................................... 35
PORTD ................................................................. 36, 37
PORTE........................................................................ 38
PORTF ........................................................................39
PORTG........................................................................40
PWM............................................................................59
RA3:RA0 and RA5 Port Pins.......................................31
RA4/T0CKI Pin ............................................................31
RB3:RB0 Port Pins......................................................33
RB7:RB4 Port Pins......................................................33
RC Oscillator ............................................................ 105
SSP (I
2
C Mode)...........................................................73
SSP (SPI Mode) ..........................................................65
Timer0 .........................................................................45
Timer0/WDT Prescaler................................................48
Timer1 .........................................................................52
Timer2 .........................................................................55
Watchdog Timer ....................................................... 116
Brown-out Protection Circuit............................................. 112
C
C bit .....................................................................................23
Capture/Compare/PWM (CCP)
Capture Mode..............................................................58
CCP1...........................................................................57
CCP1CON................................................................ 109
CCPR1H................................................................... 109
CCPR1L ................................................................... 109
Compare Mode............................................................58
Compare Mode Block Diagram ...................................58
Prescaler .....................................................................58
PWM Block Diagram ...................................................59
PWM Mode..................................................................59
PWM, Example Frequencies/Resolutions ...................60
Section.........................................................................57
Carry bit .................................................................................9
CCP1CON Register.............................................................19
CCP1IE bit...........................................................................26
CCP1IF bit ...........................................................................27
CCPR1H Register ...............................................................19
CCPR1L Register ................................................................19
Clocking Scheme.................................................................15
Code Examples
Call of a Subroutine in Page 1 from Page 0 ................30
Changing Between Capture Prescalers ......................58
Changing Prescaler (Timer0 to WDT) .........................49
Changing Prescaler (WDT to Timer0) .........................49
Doing an A/D Conversion............................................84
I/O Programming .........................................................41
I
2
C Module Operation..................................................78
Indirect Addressing......................................................30
Initializing PORTA .......................................................31
Initializing PORTB .......................................................33
Initializing PORTC .......................................................35
Initializing PORTD .......................................................36
Initializing PORTE .......................................................38
Initializing PORTF........................................................39
Initializing PORTG.......................................................40
Loading the SSPBUF register .....................................65
Reading a 16-bit Free-running Timer ..........................53
Code Protection........................................................ 103, 118
Computed GOTO ................................................................29
Configuration Bits ............................................................. 103
D
DC bit...................................................................................23
DC Characteristics.................................................... 142, 143
Development Support....................................................... 137
Development Tools........................................................... 137
Digit Carry bit.........................................................................9