High-Performance RISC CPU: • Only 33 Single-Word Instructions • All Single-Cycle Instructions except for Program Branches which are Two-Cycle • Two-Level Deep Hardware Stack • Direct, Indirect and Relative Addressing modes for Data and Instructions • Operating Speed: - DC – 20 MHz crystal oscillator - DC – 200 ns instruction cycle • On-chip Flash Program Memory - 1024 x 12 • General Purpose Registers (SRAM) - 67 x 8 • Flash Data Memory - 64 x 8 Special Microcontroller Features: • 8 MHz precision internal oscillator - Factory calibrated to ±1% • In-Circuit Serial Programming™ (ICSP™) • In-Circuit Debugging (ICD) Support • Power-On Reset (POR) • Device Reset Timer (DRT) • Watchdog Timer (WDT) with Dedicated On-Chip RC Oscillator for Reliable Operation • Programmable Code Protection • Multiplexed MCLR Input Pin • Internal Weak Pull-ups on I/O Pins • Power-Saving Sleep mode • Wake-Up from Sleep on Pin Change • Selectable Oscillator Options: - INTRC: 4 MHz or 8 MHz precision Internal RC oscillator - EXTRC: External low-cost RC oscillator - XT: Standard crystal/resonator - HS: High-speed crystal/resonator - LP: Power-saving, low-frequency crystal - EC: High-speed external clock input Low-Power Features/CMOS Technology: • Standby current: - 100 nA @ 2.0V, typical • Operating current: - 15μA @ 32 kHz, 2.0V, typical - 170μA @ 4 MHz, 2.0V, typical • Watchdog Timer current: - 1μA @ 2.0V, typical - 7μA @ 5.0V, typical • High Endurance Program and Flash Data Memory cells - 100,000 write Program Memory endurance - 1,000,000 write Flash Data Memory endurance - Program and Flash Data retention: >40 years • Fully static design • Wide operating voltage range: 2.0V to 5.5V - Wide temperature range - Industrial: -40°C to +85°C - Extended: -40°C to +125°C Peripheral Features: • 12 I/O Pins - 11 I/O pins with individual direction control - 1 input-only pin - High current sink/source for direct LED drive - Wake-up on change - Weak pull-ups • 8-bit Real-time Clock/Counter (TMR0) with 8-bit Programmable Prescaler • Two Analog Comparators - Comparator inputs and output accessible externally - One comparator with 0.6V fixed on-chip absolute voltage reference (VREF) - One comparator with programmable on-chip voltage reference (VREF) • Analog-to-Digital (A/D) Converter - 8-bit resolution - 3-channel external programmable inputs - 1-channel internal input to internal absolute 0.6 voltage reference