English
Language : 

PIC18LF24K Datasheet, PDF (11/594 Pages) –
PIC18(L)F26/45/46K40
Table of Contents
1.0 Device Overview ........................................................................................................................................................................ 13
2.0 Guidelines for Getting Started with PIC18(L)F26/45/46K40 Microcontrollers ............................................................................ 18
3.0 Device Configuration .................................................................................................................................................................. 21
4.0 Oscillator Module (with Fail-Safe Clock Monitor) ....................................................................................................................... 34
5.0 Reference Clock Output Module ................................................................................................................................................ 53
6.0 Power-Saving Operation Modes ................................................................................................................................................ 58
7.0 Peripheral Module Disable (PMD).............................................................................................................................................. 66
8.0 Resets ........................................................................................................................................................................................ 73
9.0 Windowed Watchdog Timer (WWDT) ........................................................................................................................................ 82
10.0 Memory Organization ................................................................................................................................................................. 91
11.0 Nonvolatile Memory (NVM) Control.......................................................................................................................................... 123
12.0 8x8 Hardware Multiplier............................................................................................................................................................ 147
13.0 Cyclic Redundancy Check (CRC) Module with Memory Scanner............................................................................................ 149
14.0 Interrupts .................................................................................................................................................................................. 166
15.0 I/O Ports ................................................................................................................................................................................... 196
16.0 Interrupt-on-Change ................................................................................................................................................................. 208
17.0 Peripheral Pin Select (PPS) Module ........................................................................................................................................ 212
18.0 Timer0 Module ......................................................................................................................................................................... 220
19.0 Timer1/3/5 Module with Gate Control....................................................................................................................................... 226
20.0 Timer2/4/6 Module ................................................................................................................................................................... 242
21.0 Capture/Compare/PWM Module .............................................................................................................................................. 263
22.0 Pulse-Width Modulation (PWM ) .............................................................................................................................................. 277
23.0 Zero-Cross Detection (ZCD) Module........................................................................................................................................ 285
24.0 Complementary Waveform Generator (CWG) Module ............................................................................................................ 291
25.0 Data Signal Modulator (DSM) Module...................................................................................................................................... 318
26.0 Master Synchronous Serial Port Module ................................................................................................................................. 329
27.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 386
28.0 Fixed Voltage Reference (FVR) .............................................................................................................................................. 417
29.0 Temperature Indicator Module ................................................................................................................................................. 419
30.0 5-Bit Digital-to-Analog Converter (DAC) Module...................................................................................................................... 421
31.0 Analog-to-Digital Converter with Computation (ADC2) Module ............................................................................................... 425
32.0 Comparator Module.................................................................................................................................................................. 461
33.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................. 471
34.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 478
35.0 Instruction Set Summary .......................................................................................................................................................... 480
36.0 Development Support............................................................................................................................................................... 530
37.0 Electrical Specifications............................................................................................................................................................ 534
38.0 DC and AC Characteristics Graphs and Tables....................................................................................................................... 564
39.0 Packaging Information.............................................................................................................................................................. 565
Appendix A: Revision History............................................................................................................................................................. 589
Appendix B: Device Differences ........................................................................................................................................................ 590
The Microchip Website ...................................................................................................................................................................... 591
Customer Change Notification Service .............................................................................................................................................. 591
Customer Support .............................................................................................................................................................................. 591
Product Identification System ............................................................................................................................................................ 592
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 11