PIC24HJ32GP202/204 AND PIC24HJ16GP304
DS70289J-page 282 © 2007-2011 Microchip Technology Inc.
Other Instructions........................................................ 41
Instruction Set
Overview ................................................................... 189
Summary................................................................... 187
Instruction-Based Power-Saving Modes ............................. 99
Idle ............................................................................ 100
Sleep........................................................................... 99
Internal RC Oscillator
Use with WDT ........................................................... 184
Internet Address................................................................ 283
Interrupt Control and Status Registers................................ 66
IECx ............................................................................ 66
IFSx............................................................................. 66
INTCON1 .................................................................... 66
INTCON2 .................................................................... 66
IPCx ............................................................................ 66
Interrupt Setup Procedures ................................................. 88
Initialization ................................................................. 88
Interrupt Disable.......................................................... 88
Interrupt Service Routine ............................................ 88
Trap Service Routine .................................................. 88
Interrupt Vector Table (IVT) ................................................ 63
Interrupts Coincident with Power Save Instructions.......... 100
J
JTAG Boundary Scan Interface ........................................ 179
M
Memory Organization.......................................................... 25
Microchip Internet Web Site .............................................. 283
MPLAB ASM30 Assembler, Linker, Librarian ................... 196
MPLAB Integrated Development Environment Software .. 195
MPLAB PM3 Device Programmer..................................... 198
MPLAB REAL ICE In-Circuit Emulator System................. 197
MPLINK Object Linker/MPLIB Object Librarian ................ 196
Multi-bit Data Shifter............................................................ 23
N
NVM Module
Register Map............................................................... 39
O
Open-Drain Configuration ................................................. 106
Output Compare................................................................ 141
Registers................................................................... 144
P
Packaging ......................................................................... 257
Details ....................................................................... 259
Marking ............................................................. 257, 258
Peripheral Module Disable (PMD)..................................... 100
Pinout I/O Descriptions (table) ............................................ 11
PMD Module
Register Map............................................................... 39
PORTA
Register Map............................................................... 38
PORTB
Register Map............................................................... 38
Power-on Reset (POR) ....................................................... 59
Power-Saving Features....................................................... 99
Clock Frequency and Switching.................................. 99
Program Address Space ..................................................... 25
Construction................................................................ 42
Data Access from Program Memory Using Program
Space Visibility.................................................... 45
Data Access from Program Memory Using Table Instruc-
tions .................................................................... 44
Data Access from, Address Generation ..................... 43
Memory Map............................................................... 25
Table Read Instructions
TBLRDH ............................................................. 44
TBLRDL.............................................................. 44
Visibility Operation ...................................................... 45
Program Memory
Interrupt Vector........................................................... 26
Organization ............................................................... 26
Reset Vector............................................................... 26
R
Reader Response............................................................. 284
Registers
AD1CHS0 (ADC1 Input Channel 0 Select ................ 175
AD1CHS123 (ADC1 Input Channel 1, 2, 3 Select)... 173
AD1CON1 (ADC1 Control 1) .................................... 169
AD1CON2 (ADC1 Control 2) .................................... 171
AD1CON3 (ADC1 Control 3) .................................... 172
AD1CSSL (ADC1 Input Scan Select Low)................ 177
AD1PCFGL (ADC1 Port Configuration Low) ............ 177
CLKDIV (Clock Divisor) .............................................. 95
CORCON (Core Control) ...................................... 22, 68
I2CxCON (I2Cx Control) ........................................... 154
I2CxMSK (I2Cx Slave Mode Address Mask) ............ 158
I2CxSTAT (I2Cx Status) ........................................... 156
ICxCON (Input Capture x Control)............................ 139
IEC0 (Interrupt Enable Control 0) ......................... 75, 78
IEC1 (Interrupt Enable Control 1) ............................... 77
IFS0 (Interrupt Flag Status 0) ..................................... 71
IFS1 (Interrupt Flag Status 1) ..................................... 73
IFS4 (Interrupt Flag Status 4) ..................................... 74
INTCON1 (Interrupt Control 1).................................... 69
INTCON2 (Interrupt Control 2).................................... 70
INTTREG Interrupt Control and Status Register ........ 87
IPC0 (Interrupt Priority Control 0) ............................... 79
IPC1 (Interrupt Priority Control 1) ............................... 80
IPC16 (Interrupt Priority Control 16) ........................... 86
IPC2 (Interrupt Priority Control 2) ............................... 81
IPC3 (Interrupt Priority Control 3) ............................... 82
IPC4 (Interrupt Priority Control 4) ............................... 83
IPC5 (Interrupt Priority Control 5) ............................... 84
IPC7 (Interrupt Priority Control 7) ............................... 85
NVMCOM (Flash Memory Control)....................... 49, 50
OCxCON (Output Compare x Control) ..................... 144
OSCCON (Oscillator Control) ..................................... 93
OSCTUN (FRC Oscillator Tuning).............................. 97
PLLFBD (PLL Feedback Divisor)................................ 96
PMD1 (Peripheral Module Disable Control
Register 1) ........................................................ 102
PMD2 (Peripheral Module Disable Control
Register 2) ........................................................ 103
RCON (Reset Control)................................................ 55
SPIxCON1 (SPIx Control 1)...................................... 148
SPIxCON2 (SPIx Control 2)...................................... 150
SPIxSTAT (SPIx Status and Control) ....................... 147
SR (CPU Status)................................................... 21, 67
T1CON (Timer1 Control) .......................................... 129
TxCON (T2CON, T4CON, T6CON or
T8CON Control)................................................ 134
TyCON (T3CON, T5CON, T7CON or
T9CON Control)................................................ 135
UxMODE (UARTx Mode).......................................... 161
UxSTA (UARTx Status and Control)......................... 163
Reset