Datasheet

PIC24F04KA201 FAMILY
DS39937B-page 4 Preliminary © 2009 Microchip Technology Inc.
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Guidelines for Getting Started with 16-Bit Microcontrollers........................................................................................................ 15
3.0 CPU ........................................................................................................................................................................................... 19
4.0 Memory Organization ................................................................................................................................................................. 25
5.0 Flash Program Memory.............................................................................................................................................................. 43
6.0 Resets ........................................................................................................................................................................................ 51
7.0 Interrupt Controller ..................................................................................................................................................................... 57
8.0 Oscillator Configuration .............................................................................................................................................................. 81
9.0 Power-Saving Features.............................................................................................................................................................. 91
10.0 I/O Ports ..................................................................................................................................................................................... 99
11.0 Timer1 ..................................................................................................................................................................................... 101
12.0 Timer2/3 ................................................................................................................................................................................... 103
13.0 Input Capture............................................................................................................................................................................ 109
14.0 Output Compare....................................................................................................................................................................... 111
15.0 Serial Peripheral Interface (SPI)............................................................................................................................................... 117
16.0 Inter-Integrated Circuit (I
2
C™) ................................................................................................................................................. 125
17.0 Universal Asynchronous Receiver Transmitter (UART) ........................................................................................................... 133
18.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................. 141
19.0 10-Bit High-Speed A/D Converter ............................................................................................................................................ 143
20.0 Comparator Module.................................................................................................................................................................. 153
21.0 Comparator Voltage Reference................................................................................................................................................ 157
22.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 159
23.0 Special Features ...................................................................................................................................................................... 163
24.0 Development Support............................................................................................................................................................... 173
25.0 Instruction Set Summary .......................................................................................................................................................... 177
26.0 Electrical Characteristics .......................................................................................................................................................... 185
27.0 Packaging Information.............................................................................................................................................................. 205
Appendix A: Revision History............................................................................................................................................................. 213
Index .................................................................................................................................................................................................. 215
The Microchip Web Site..................................................................................................................................................................... 219
Customer Change Notification Service .............................................................................................................................................. 219
Customer Support .............................................................................................................................................................................. 219
Reader Response .............................................................................................................................................................................. 220
Product Identification System............................................................................................................................................................. 221