2011 Microchip Technology Inc. DS31037B-page 253
PIC24F16KL402 FAMILY
Program Verification ......................................................... 187
PWM (CCP Module)
TMR4 to PR4 Match ................................................. 125
R
Reader Response ............................................................. 258
Register Maps
A/D Converter ............................................................. 43
Analog Select.............................................................. 43
CCP/ECCP ................................................................. 40
Comparator ................................................................. 43
CPU Core.................................................................... 37
ICN.............................................................................. 38
Interrupt Controller ...................................................... 39
MSSP.......................................................................... 41
NVM ............................................................................ 44
Pad Configuration ....................................................... 42
PMD ............................................................................ 44
PORTA........................................................................ 42
PORTB........................................................................ 42
System, Clock Control ................................................ 44
Timer........................................................................... 40
UART .......................................................................... 41
Ultra Low-Power Wake-up .......................................... 44
Registers
AD1CHS (A/D Input Select) ...................................... 164
AD1CON1 (A/D Control 1)........................................ 161
AD1CON2 (A/D Control 2)........................................ 162
AD1CON3 (A/D Control 3)........................................ 163
AD1CSSL (A/D Input Scan Select, Low) .................. 165
ANCFG (Analog Input Configuration) ....................... 165
ANSA (Analog Selection, PORTA) ........................... 115
ANSB (Analog Selection, PORTB) ........................... 115
CCP1CON
Enhanced (ECCP1) .......................................... 131
CCPTMRS0 (CCP Timer Select) .............................. 135
CCPxCON
Standard CCP................................................... 130
CLKDIV (Clock Divider) ............................................ 101
CMSTAT (Comparator Status).................................. 172
CMxCON (Comparator x Control)............................. 171
CORCON (CPU Control) ............................................ 31
CORCON (CPU Core Control).................................... 72
CVRCON (Comparator Voltage
Reference Control) ........................................... 174
DEVID (Device ID) .................................................... 184
DEVREV (Device Revision)...................................... 185
ECCP1AS (ECCP1 Auto-Shutdown Control)............ 132
ECCP1DEL (ECCP1 Enhanced PWM Control) ........ 133
FBS (Boot Segment Configuration) .......................... 178
FGS (General Segment Configuration)..................... 178
FICD (In-Circuit Debugger Configuration)................. 183
FOSC (Oscillator Configuration) ............................... 180
FOSCSEL (Oscillator Selection Configuration)......... 179
FPOR (Reset Configuration)..................................... 182
FWDT (Watchdog Timer Configuration) ................... 181
HLVDCON (High/Low-Voltage Detect Control)......... 176
IEC0 (Interrupt Enable Control 0) ............................... 79
IEC1 (Interrupt Enable Control 1) ............................... 80
IEC2 (Interrupt Enable Control 2) ............................... 81
IEC3 (Interrupt Enable Control 3) ............................... 81
IEC4 (Interrupt Enable Control 4) ............................... 82
IEC5 (Interrupt Enable Control 5) ............................... 82
IFS0 (Interrupt Flag Status 0) ..................................... 75
IFS1 (Interrupt Flag Status 1) ..................................... 76
IFS2 (Interrupt Flag Status 2) ..................................... 77
IFS3 (Interrupt Flag Status 3) ..................................... 77
IFS4 (Interrupt Flag Status 4) ..................................... 78
IFS5 (Interrupt Flag Status 5) ..................................... 78
INTCON 2 (Interrupt Control 2) .................................. 74
INTCON1 (Interrupt Control 1) ................................... 73
INTTREG (Interrupt Control and Status) .................... 95
IPC0 (Interrupt Priority Control 0) ............................... 83
IPC1 (Interrupt Priority Control 1) ............................... 84
IPC12 (Interrupt Priority Control 12) ........................... 92
IPC16 (Interrupt Priority Control 16) ........................... 93
IPC18 (Interrupt Priority Control 18) ........................... 94
IPC2 (Interrupt Priority Control 2) ............................... 85
IPC20 (Interrupt Priority Control 20) ........................... 94
IPC3 (Interrupt Priority Control 3) ............................... 86
IPC4 (Interrupt Priority Control 4) ............................... 87
IPC5 (Interrupt Priority Control 5) ............................... 88
IPC6 (Interrupt Priority Control 6) ............................... 89
IPC7 (Interrupt Priority Control 7) ............................... 90
IPC9 (Interrupt Priority Control 9) ............................... 91
NVMCON (Flash Memory Control)............................. 51
NVMCON (Nonvolatile Memory Control).................... 56
OSCCON (Oscillator Control) ..................................... 99
OSCTUN (FRC Oscillator Tune) .............................. 102
PADCFG1 (Pad Configuration Control).................... 149
PSTR1CON (ECCP Pulse Steering) ........................ 134
RCON (Reset Control)................................................ 62
REFOCON (Reference Oscillator Control) ............... 105
SR (ALU STATUS) ............................................... 30, 71
SSPxADD (MSSPx Slave Address/Baud
Rate Generator)................................................ 148
SSPxCON1 (MSSPx Control 1)
I2C mode .......................................................... 144
SPI mode.......................................................... 143
SSPxCON2 (MSSPx Control 2)................................ 145
SSPxCON3 (MSSPx Control 3)
I2C mode .......................................................... 147
SPI mode.......................................................... 146
SSPxMSK (I2C Slave Address Mask) ...................... 148
SSPxSTAT (MSSPx Status)
I2C Mode .......................................................... 141
SPI mode.......................................................... 140
T1CON (Timer1 Control) .......................................... 118
T2CON (Timer2 Control) .......................................... 120
T3GCON (Timer3 Gate Control)............................... 123
T4CON (Timer4 Control) .......................................... 126
ULPWCON (ULPWU Control) .................................. 110
UxMODE (UARTx Mode) ......................................... 154
UxSTA (UARTx Status and Control) ........................ 156
Resets
Brown-out Reset (BOR).............................................. 65
Clock Source Selection .............................................. 63
Delay Times................................................................ 64
Device Times .............................................................. 64
RCON Flag Operation ................................................ 63
SFR States ................................................................. 65
Revision History................................................................ 251
S
Serial Peripheral Interface. See SPI Mode.
SFR Space ......................................................................... 36
Software Simulator (MPLAB SIM) .................................... 191
Software Stack ................................................................... 45