Datasheet

2010-2011 Microchip Technology Inc. DS41418B-page 281
PIC16(L)F707
INDEX
A
A/D
Specifications.................................................... 223, 224
Absolute Maximum Ratings .............................................. 203
AC Characteristics
Industrial and Extended ............................................215
Load Conditions........................................................ 214
ADC .................................................................................... 81
Acquisition Requirements ........................................... 88
Associated registers.................................................... 90
Block Diagram............................................................. 81
Calculating Acquisition Time....................................... 88
Channel Selection....................................................... 82
Configuration............................................................... 82
Configuring Interrupt ...................................................84
Conversion Clock........................................................ 82
Conversion Procedure ................................................ 84
Internal Sampling Switch (R
SS) IMPEDANCE ................ 88
Interrupts.....................................................................83
Operation ....................................................................84
Operation During Sleep .............................................. 84
Port Configuration.......................................................82
Reference Voltage (V
REF)........................................... 82
Source Impedance...................................................... 88
Special Event Trigger.................................................. 84
ADCON0 Register......................................................... 21, 86
ADCON1 Register......................................................... 22, 87
Addressable Universal Synchronous Asynchronous
Receiver Transmitter (AUSART)............................... 139
ADRES Register ................................................................. 87
ADRESH Register...............................................................21
Alternate Pin Function.........................................................53
Analog-to-Digital Converter. See ADC
ANSELA Register ...............................................................55
ANSELB Register .........................................................59, 62
ANSELD Register ............................................................... 65
ANSELE Register ...............................................................68
APFCON Register...............................................................53
Assembler
MPASM Assembler...................................................200
AUSART ........................................................................... 139
Associated Registers
Baud Rate Generator........................................ 149
Asynchronous Mode ................................................. 141
Associated Registers
Receive..................................................... 146
Transmit....................................................143
Baud Rate Generator (BRG) ............................ 149
Receiver............................................................ 143
Setting up 9-bit Mode with Address Detect....... 145
Transmitter........................................................ 141
Baud Rate Generator (BRG)
Baud Rate Error, Calculating ............................149
Formulas...........................................................149
High Baud Rate Select (BRGH Bit) .................. 149
Synchronous Master Mode ............................... 152, 156
Associated Registers
Receive..................................................... 155
Transmit....................................................153
Reception.......................................................... 154
Transmission .................................................... 152
Synchronous Slave Mode
Associated Registers
Receive .................................................... 157
Transmit ................................................... 156
Reception ......................................................... 157
Transmission .................................................... 156
B
BF bit ........................................................................ 167, 179
Block Diagrams
(CCP) Capture Mode Operation ............................... 131
ADC............................................................................ 81
ADC Transfer Function............................................... 89
Analog Input Model..................................................... 89
AUSART Receive..................................................... 140
AUSART Transmit .................................................... 139
CCP PWM ................................................................ 135
Clock Source .............................................................. 71
Compare................................................................... 133
Crystal Operation........................................................ 75
Digital-to-Analog Converter (DAC) ............................. 94
External RC Mode ...................................................... 76
Interrupt Logic............................................................. 41
MCLR
Circuit .............................................................. 33
On-Chip Reset Circuit................................................. 31
Resonator Operation .................................................. 76
SPI Mode.................................................................. 160
SSP (I
2
C Mode)........................................................ 169
Timer1 ...................................................................... 102
Timer2 ...................................................................... 117
TMR0/WDT Prescaler ........................................ 97, 113
Voltage Reference...................................................... 94
Voltage Reference Output Buffer Example ................ 94
Brown-out Reset (BOR)...................................................... 35
Specifications ........................................................... 221
Timing and Characteristics....................................... 220
C
C Compilers
MPLAB C18.............................................................. 200
Capacitive Sensing........................................................... 119
Capture Module. See Capture/Compare/PWM (CCP)
Capture/Compare/PWM (CCP) ........................................ 129
Associated registers w/ Capture............................... 132
Associated registers w/ Compare............................. 134
Associated registers w/ PWM................................... 138
Capture Mode........................................................... 131
CCPx Pin Configuration............................................ 131
Compare Mode......................................................... 133
CCPx Pin Configuration.................................... 133
Software Interrupt Mode........................... 131, 133
Special Event Trigger ....................................... 133
Timer1 Mode Selection............................. 131, 133
Interaction of Two CCP Modules (table)................... 129
Prescaler .................................................................. 131
PWM Mode............................................................... 135
Duty Cycle ........................................................ 136
Effects of Reset ................................................ 137
Example PWM Frequencies and
Resolutions, 20 MHZ................................ 137
Example PWM Frequencies and
Resolutions, 8 MHz .................................. 137
Operation in Sleep Mode.................................. 137
Setup for Operation .......................................... 137
System Clock Frequency Changes .................. 137
PWM Period ............................................................. 136