The following content is an automatically extracted verbatim text
from the original manufacturer datasheet and is provided for reference purposes only.
View original datasheet text
M
Author:
AN552
SUMMARY
The PIC16CXXX is ideally suited to interface directly to a keypad application. Built in pull-up resistors and very low current consumption during sleep make it a very good candidate for battery powered remote operations and applications. Appendix A provides an example of the code. Performance: Code Size RAM Used 64 words 0 bytes
Implementing Wake-up on Key Stroke
Stan D’Souza Microchip Technology Inc.
INTRODUCTION
Microchip's PIC16CXXX microcontroller family are ideally suited to directly interface to a keypad. The high 4-bits of PORTB (RB7:RB4) have internal pull-ups and can trigger a “change on state” interrupt. This interrupt, if enabled, will wake the microcontroller from SLEEP.