Datasheet
© 2009 Microchip Technology Inc. DS41288F-page 207
PIC16F610/616/16HV610/616
INDEX
A
A/D
Specifications.................................................... 165, 166
Absolute Maximum Ratings ..............................................143
AC Characteristics
Industrial and Extended ............................................ 157
Load Conditions........................................................156
ADC .................................................................................... 73
Acquisition Requirements ........................................... 81
Associated registers.................................................... 83
Block Diagram............................................................. 73
Calculating Acquisition Time....................................... 81
Channel Selection....................................................... 74
Configuration............................................................... 74
Configuring Interrupt ................................................... 76
Conversion Clock........................................................ 74
Conversion Procedure ................................................ 76
Internal Sampling Switch (R
SS) Impedance................ 81
Interrupts.....................................................................75
Operation .................................................................... 76
Operation During Sleep ..............................................76
Port Configuration.......................................................74
Reference Voltage (V
REF)........................................... 74
Result Formatting........................................................ 75
Source Impedance...................................................... 81
Special Event Trigger.................................................. 76
Starting an A/D Conversion ........................................ 75
ADCON0 Register............................................................... 78
ADCON1 Register............................................................... 79
ADRESH Register (ADFM = 0)........................................... 80
ADRESH Register (ADFM = 1)........................................... 80
ADRESL Register (ADFM = 0)............................................ 80
ADRESL Register (ADFM = 1)............................................ 80
Analog-to-Digital Converter. See ADC
ANSEL Register..................................................................34
Assembler
MPASM Assembler...................................................140
B
Block Diagrams
(CCP) Capture Mode Operation ................................. 86
ADC ............................................................................ 73
ADC Transfer Function ............................................... 82
Analog Input Model............................................... 64, 82
CCP PWM...................................................................90
Clock Source............................................................... 27
Comparator C1 ...........................................................58
Comparator C2 ...........................................................58
Compare Mode Operation .......................................... 88
Crystal Operation........................................................ 29
External RC Mode....................................................... 30
In-Circuit Serial Programming Connections.............. 126
Interrupt Logic...........................................................119
MCLR
Circuit............................................................. 112
On-Chip Reset Circuit............................................... 111
PIC16F610/16HV610.................................................... 9
PIC16F616/16HV616.................................................. 10
PWM (Enhanced)........................................................ 93
RA0 and RA1 Pins...................................................... 36
RA2 Pins.....................................................................37
RA3 Pin....................................................................... 38
RA4 Pin....................................................................... 39
RA5 Pin....................................................................... 40
RC0 and RC1 Pins...................................................... 43
RC2 and RC3 Pins ..................................................... 43
RC4 Pin ...................................................................... 44
RC5 Pin ...................................................................... 44
Resonator Operation .................................................. 29
Timer1 ........................................................................ 49
Timer2 ........................................................................ 55
TMR0/WDT Prescaler ................................................ 45
Watchdog Timer ....................................................... 122
Brown-out Reset (BOR).................................................... 113
Associated Registers................................................ 114
Specifications ........................................................... 161
Timing and Characteristics....................................... 160
C
C Compilers
MPLAB C18.............................................................. 140
Calibration Bits.................................................................. 111
Capture Module. See Enhanced Capture/Compare/PWM
(ECCP)
Capture/Compare/PWM (CCP)
Associated registers w/ Capture/Compare/PWM 87, 89,
105
Capture Mode............................................................. 86
CCP1 Pin Configuration ............................................. 86
Compare Mode........................................................... 88
CCP1 Pin Configuration ..................................... 88
Software Interrupt Mode............................... 86, 88
Special Event Trigger ......................................... 88
Timer1 Mode Selection................................. 86, 88
Prescaler .................................................................... 86
PWM Mode................................................................. 90
Duty Cycle .......................................................... 91
Effects of Reset .................................................. 92
Example PWM Frequencies and Resolutions, 20
MHz ............................................................ 91
Example PWM Frequencies and Resolutions, 8
MHz ............................................................ 91
Operation in Sleep Mode.................................... 92
Setup for Operation ............................................ 92
System Clock Frequency Changes .................... 92
PWM Period ............................................................... 91
Setup for PWM Operation .......................................... 92
CCP1CON (Enhanced) Register ........................................ 85
Clock Sources
External Modes........................................................... 28
EC ...................................................................... 28
HS ...................................................................... 29
LP....................................................................... 29
OST .................................................................... 28
RC ...................................................................... 30
XT....................................................................... 29
Internal Modes............................................................ 30
INTOSC.............................................................. 30
INTOSCIO .......................................................... 30
CM1CON0 Register............................................................ 62
CM2CON0 Register............................................................ 63
CM2CON1 Register............................................................ 65
Code Examples
A/D Conversion .......................................................... 77
Assigning Prescaler to Timer0.................................... 46
Assigning Prescaler to WDT....................................... 46
Changing Between Capture Prescalers ..................... 86
Indirect Addressing..................................................... 24
Initializing PORTA ...................................................... 33