??? 06/28/05 12:04 Read: times |
#96091 - it does Responding to: ???'s previous message |
Also do you guys know of a chip that can interrupt the CPU on the status change of a port? I interfaced my 16F628 with a PC keyboard and it would be nice to interrupt the CPU when the keyboard wants to send something instead of waiting for the keyboard to send (and locking the CPU in a loop while waiting).
I find it much easier to do this in a timer interrupt, that makes the debounce a breeze. Of course, if you want to detect keyboard input during sleep mode you need the KSR int. There may actually be some 8051 derivatives that have a port that has status change interrupt hardware. I would look first at the Philips LPC932 to see if it has this feature. The philips P89LPC3xx have a keyboard interrupt on a full port For an explanation of the quasi bi-directional ports read "the bible" ch 3, address in links Erik |
Topic | Author | Date |
Starter has a question about AT89S52 | 01/01/70 00:00 | |
which 8051 derivative? | 01/01/70 00:00 | |
Keyboard... | 01/01/70 00:00 | |
it does | 01/01/70 00:00 | |
INt on pin level change | 01/01/70 00:00 | |
Derivative chip | 01/01/70 00:00 | |
Not Like a PIC | 01/01/70 00:00 | |
a conflict in previous posts![]() | 01/01/70 00:00 |