PIC16(L)F1824/1828
INDEX
A
A/D
Specifications............................................................ 373
Absolute Maximum Ratings .............................................. 351
AC Characteristics
Industrial and Extended ............................................ 366
Load Conditions ........................................................ 365
ACKSTAT ......................................................................... 279
ACKSTAT Status Flag ...................................................... 279
ADC .................................................................................. 149
Acquisition Requirements ......................................... 159
Associated registers.................................................. 161
Block Diagram........................................................... 149
Calculating Acquisition Time..................................... 159
Channel Selection..................................................... 150
Configuration............................................................. 150
Configuring Interrupt ................................................. 154
Conversion Clock...................................................... 150
Conversion Procedure .............................................. 154
Internal Sampling Switch (RSS) Impedance.............. 159
Interrupts................................................................... 152
Operation .................................................................. 153
Operation During Sleep ............................................ 153
Port Configuration ..................................................... 150
Reference Voltage (VREF)......................................... 150
Source Impedance.................................................... 159
Special Event Trigger................................................ 153
Starting an A/D Conversion ...................................... 152
ADCON0 Register....................................................... 34, 155
ADCON1 Register....................................................... 34, 156
ADDFSR ........................................................................... 341
ADDWFC .......................................................................... 341
ADRESH Register............................................................... 34
ADRESH Register (ADFM = 0) ......................................... 157
ADRESH Register (ADFM = 1) ......................................... 158
ADRESL Register (ADFM = 0).......................................... 157
ADRESL Register (ADFM = 1).......................................... 158
Alternate Pin Function....................................................... 121
Analog-to-Digital Converter. See ADC
ANSELA Register ............................................................. 127
ANSELB Register ............................................................. 133
ANSELC Register ............................................................. 138
APFCON0 Register........................................................... 122
APFCON1 Register........................................................... 123
Assembler
MPASM Assembler................................................... 386
B
BAUDCON Register.......................................................... 308
BF ............................................................................. 279, 281
BF Status Flag .......................................................... 279, 281
Block Diagram
Capacitive Sensing ........................................... 325, 326
Block Diagrams
(CCP) Capture Mode Operation ............................... 216
ADC .......................................................................... 149
ADC Transfer Function ............................................. 160
Analog Input Model ........................................... 160, 180
CCP PWM................................................................. 220
Clock Source............................................................... 58
Compare ................................................................... 218
Crystal Operation .................................................. 60, 61
Digital-to-Analog Converter (DAC)............................ 164
EUSART Receive ..................................................... 298
EUSART Transmit .................................................... 297
External RC Mode ...................................................... 61
Fail-Safe Clock Monitor (FSCM)................................. 69
Generic I/O Port........................................................ 121
Interrupt Logic............................................................. 87
On-Chip Reset Circuit................................................. 79
Peripheral Interrupt Logic ........................................... 88
PIC16F/LF1824/1828 ................................................. 22
PIC16F/LF1826/27 ..................................................... 14
PWM (Enhanced) ..................................................... 224
Resonator Operation .................................................. 60
Timer0 ...................................................................... 185
Timer1 ...................................................................... 189
Timer1 Gate.............................................. 194, 195, 196
Timer2/4/6 ................................................................ 201
Voltage Reference.................................................... 145
Voltage Reference Output Buffer Example .............. 164
BORCON Register.............................................................. 81
BRA .................................................................................. 342
Break Character (12-bit) Transmit and Receive ............... 317
Brown-out Reset (BOR)...................................................... 81
Specifications ........................................................... 371
Timing and Characteristics ....................................... 370
C
C Compilers
MPLAB C18.............................................................. 386
CALL................................................................................. 343
CALLW ............................................................................. 343
Capacitive Sensing ........................................................... 325
Associated registers w/ Capacitive Sensing............. 332
Specifications ........................................................... 382
Capture Module. See Enhanced Capture/Compare/PWM
(ECCP)
Capture/Compare/PWM ................................................... 215
Capture/Compare/PWM (CCP)
Associated Registers w/ Capture ............................. 217
Associated Registers w/ Compare ........................... 219
Associated Registers w/ PWM ......................... 223, 237
Capture Mode........................................................... 216
CCPx Pin Configuration............................................ 216
Compare Mode......................................................... 218
CCPx Pin Configuration.................................... 218
Software Interrupt Mode ........................... 216, 218
Special Event Trigger ....................................... 218
Timer1 Mode Resource ............................ 216, 218
Prescaler .................................................................. 216
PWM Mode
Duty Cycle ........................................................ 221
Effects of Reset ................................................ 223
Example PWM Frequencies and
Resolutions, 20 MHZ ................................ 222
Example PWM Frequencies and
Resolutions, 32 MHZ ................................ 222
Example PWM Frequencies and
Resolutions, 8 MHz .................................. 222
Operation in Sleep Mode.................................. 223
Resolution ........................................................ 222
System Clock Frequency Changes .................. 223
PWM Operation ........................................................ 220
PWM Overview......................................................... 220
PWM Period ............................................................. 221
PWM Setup .............................................................. 221
2010 Microchip Technology Inc.
Preliminary
DS41419B-page 407