Circuit Creator FREE DEMOUpgrade your AMS CAD SoftwarePCB Design Kit as low as $149 per kitSpice Creator FREE DEMO

Hardware
Training Tools
Data Acquisition
I/O Cards
Development Tools
Pic Tutor

Software

CAD
Education
Consulting

Downloads 

PRICE LIST

Corporate

About AMS
Chronology
Contact

Sales Offices

US
International

Publication

EBOOKS
Articles
Press Release
CAE Glossary
Design
Guidelines

PCB FABRICATION

Resource

Resource Page

EZMicro
Resource


Support
Registration
Support
Payment
Terms

 
Site Designed by

GlobalAMS

Electronics

K

KBI: Key Board Interrupt

Typical microcontroller applications have some sort of user input in the form of pressing a button or keypad. In battery powered applications it is desirable to have the MCU in a low power wait or stop mode while waiting for key pad input. When a user presses a key on the keypad an interrupt is generated. The interrupt wakes the MCU out of low power mode to execute the code that is appropriate for the key that was pressed. The KBI port pins eliminate glue logic by having pull-up resistors and logic that generates an interrupt if any of the port pins are pulled low.

A typical MCU key matrix has the ROW lines connected to the KBI input port pins and the COLUMN lines connected to MCU output port pins.

If any key in the matrix is pressed:

The row of the key is pulled low, generating an interrupt that wakes the MCU up from low-power mode

 Software debounces and scans the columns to determine which key was depressed

Advanced Microcomputer Systems, Inc.
10116 NW 53rd St., Sunrise, FL 33351-8020
Phone: (954) 784-0900, Fax: (954) 784-0904

1-800-319-3599

E-Mail: info@advancedmsinc.com


Return to AMS homepage

 

 

 

Click here for More Info....