PIC16(L)F1508/9
DS41609A-page 378 Preliminary 2011 Microchip Technology Inc.
LP................................................................................ 49
RC............................................................................... 49
XT ............................................................................... 49
Oscillator Parameters........................................................342
Oscillator Specifications.................................................... 342
Oscillator Start-up Timer (OST)
Specifications............................................................ 345
Oscillator Switching
Fail-Safe Clock Monitor............................................... 60
Two-Speed Clock Start-up.......................................... 58
OSCSTAT Register.............................................................63
P
Packaging ......................................................................... 363
Marking ............................................................. 363, 364
PDIP Details..............................................................365
PCL and PCLATH............................................................... 16
PCL Register.......................................................................28
PCLATH Register................................................................28
PCON Register .............................................................29, 71
PIE1 Register................................................................29, 79
PIE2 Register................................................................29, 80
PIE3 Register................................................................29, 81
Pinout Descriptions
PIC16(L)F1508/9 ........................................................ 11
PIR1 Register................................................................ 29, 82
PIR2 Register................................................................ 29, 83
PIR3 Register................................................................ 29, 84
PMADR Registers...............................................................95
PMADRH Registers ............................................................ 95
PMADRL Register.............................................................108
PMADRL Registers.............................................................95
PMCON1 Register ...................................................... 95, 109
PMCON2 Register ...................................................... 95, 110
PMDATH Register.............................................................108
PMDATL Register .............................................................108
PMDRH Register............................................................... 108
PORTA.............................................................................. 113
ANSELA Register .....................................................113
Associated Registers ................................................ 116
LATA Register............................................................. 30
PORTA Register ......................................................... 29
Specifications............................................................ 343
PORTA Register ............................................................... 114
PORTB.............................................................................. 117
ANSELB Register .....................................................117
Associated Registers ................................................ 120
LATB Register............................................................. 30
PORTB Register ......................................................... 29
PORTB Register ............................................................... 118
PORTC
ANSELC Register .....................................................121
Associated Registers ................................................ 123
LATC Register ............................................................30
Pin Descriptions and Diagrams................................. 121
PORTC Register ......................................................... 29
PORTC Register ............................................................... 122
Power-Down Mode (Sleep) ................................................. 87
Associated Registers ..................................................90
Power-on Reset ..................................................................66
Power-up Time-out Sequence ............................................ 68
Power-up Timer (PWRT).....................................................66
Specifications............................................................ 345
PR2 Register.......................................................................29
Program Memory ................................................................17
Map and Stack (PIC16(L)F1508 ................................. 18
Map and Stack (PIC16(L)F1509 ................................. 18
Programming, Device Instructions.................................... 315
Pulse Width Modulation (PWM)........................................ 265
Associated registers w/ PWM................................... 270
PWM Mode
Duty Cycle ........................................................ 266
Effects of Reset ................................................ 267
Example PWM Frequencies and
Resolutions, 20 MHZ................................ 267
Example PWM Frequencies and
Resolutions, 8 MHz .................................. 267
Operation in Sleep Mode.................................. 267
Setup for Operation using PWMx pins ............. 268
System Clock Frequency Changes .................. 267
PWM Period.............................................................. 266
Setup for PWM Operation using PWMx Pins ........... 268
PWMxCON Register......................................................... 269
PWMxDCH Register ......................................................... 270
PWMxDCL Register.......................................................... 270
R
RCREG............................................................................. 244
RCREG Register ................................................................ 30
RCSTA Register ......................................................... 30, 247
Reader Response............................................................. 382
Read-Modify-Write Operations ......................................... 315
Registers
ADCON0 (ADC Control 0) ........................................ 141
ADCON1 (ADC Control 1) ........................................ 142
ADCON2 (ADC Control 2) ........................................ 143
ADRESH (ADC Result High) with ADFM = 0) .......... 144
ADRESH (ADC Result High) with ADFM = 1) .......... 145
ADRESL (ADC Result Low) with ADFM = 0)............ 144
ADRESL (ADC Result Low) with ADFM = 1)............ 145
ANSELA (PORTA Analog Select)............................. 115
ANSELB (PORTB Analog Select)............................. 119
ANSELC (PORTC Analog Select) ............................ 123
APFCON (Alternate Pin Function Control) ............... 112
BAUDCON (Baud Rate Control)............................... 248
BORCON Brown-out Reset Control) .......................... 67
CLCDATA (Data Output) .......................................... 285
CLCxCON (CLCx Control)........................................ 277
CLCxGLS0 (Gate 1 Logic Select)............................. 281
CLCxGLS1 (Gate 2 Logic Select)............................. 282
CLCxGLS2 (Gate 3 Logic Select)............................. 283
CLCxGLS3 (Gate 4 Logic Select)............................. 284
CLCxPOL (Signal Polarity Control)........................... 278
CLCxSEL0 (Multiplexer Data 1 and 2 Select)........... 279
CMOUT (Comparator Output) .................................. 160
CMxCON0 (Cx Control)............................................ 159
CMxCON1 (Cx Control 1)......................................... 160
Configuration Word 1.................................................. 44
Configuration Word 2.................................................. 45
Core Function, Summary............................................ 28
CWGxCON0 (CWG Control 0) ................................. 307
CWGxCON1 (CWG Control 1) ................................. 308
CWGxCON2 (CWG Control 1) ................................. 309
CWGxDBF (CWGx Dead Band Falling Count)......... 310
CWGxDBR (CWGx Dead Band Rising Count)......... 310
DACCON0 ................................................................ 152
DACCON1 ................................................................ 152
Device ID .................................................................... 47
FVRCON................................................................... 132
INTCON (Interrupt Control)......................................... 78
IOCAF (Interrupt-on-Change PORTA Flag).............. 127