English
Language : 

PIC18F2331_10 Datasheet, PDF (8/392 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PIC18F2331/2431/4331/4431
Table of Contents
1.0 Device Overview ........................................................................................................................................................................ 11
2.0 Guidelines for Getting Started with PIC18F Microcontrollers ..................................................................................................... 25
3.0 Oscillator Configurations ............................................................................................................................................................ 29
4.0 Power-Managed Modes ............................................................................................................................................................. 39
5.0 Reset .......................................................................................................................................................................................... 47
6.0 Memory Organization ................................................................................................................................................................. 61
7.0 Data EEPROM Memory ............................................................................................................................................................. 79
8.0 Flash Program Memory .............................................................................................................................................................. 85
9.0 8 x 8 Hardware Multiplier............................................................................................................................................................ 95
10.0 Interrupts .................................................................................................................................................................................... 97
11.0 I/O Ports ................................................................................................................................................................................... 113
12.0 Timer0 Module ......................................................................................................................................................................... 127
13.0 Timer1 Module ......................................................................................................................................................................... 131
14.0 Timer2 Module ......................................................................................................................................................................... 136
15.0 Timer5 Module ......................................................................................................................................................................... 139
16.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 145
17.0 Motion Feedback Module ......................................................................................................................................................... 151
18.0 Power Control PWM Module .................................................................................................................................................... 173
19.0 Synchronous Serial Port (SSP) Module ................................................................................................................................... 205
20.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 217
21.0 10-Bit High-Speed Analog-to-Digital Converter (A/D) Module ................................................................................................. 239
22.0 Low-Voltage Detect (LVD)........................................................................................................................................................ 257
23.0 Special Features of the CPU .................................................................................................................................................... 263
24.0 Instruction Set Summary .......................................................................................................................................................... 283
25.0 Development Support............................................................................................................................................................... 325
26.0 Electrical Characteristics .......................................................................................................................................................... 329
27.0 Packaging Information.............................................................................................................................................................. 363
Appendix A: Revision History............................................................................................................................................................. 375
Appendix B: Device Differences......................................................................................................................................................... 375
Appendix C: Conversion Considerations ........................................................................................................................................... 376
Appendix D: Migration from Baseline to Enhanced Devices.............................................................................................................. 376
Appendix E: Migration From Mid-Range to Enhanced Devices ......................................................................................................... 377
Appendix F: Migration From High-End to Enhanced Devices............................................................................................................ 377
INDEX ................................................................................................................................................................................................ 379
The Microchip Web Site ..................................................................................................................................................................... 389
Customer Change Notification Service .............................................................................................................................................. 389
Customer Support .............................................................................................................................................................................. 389
Reader Response .............................................................................................................................................................................. 390
Product Identification System............................................................................................................................................................. 391
DS39616D-page 8
 2010 Microchip Technology Inc.