Home > Basic Circuits > Interrupt scan method matrix keyboard circuit

Interrupt scan method matrix keyboard circuit

Source: InternetPublisher:qoistoochee128 Keywords: Matrix keyboard keyboard circuit CPU Updated: 2021/10/11

41. Interrupt Scan Method<strong>Matrix Keyboard</strong>Circuit.gif

Shown is the hardware schematic diagram of the interrupt scanning method. All column line outputs are low level . When no key is pressed, all row
lines are high level. After passing through the 4-input NAND gate, the output is low level, and then sent to the interrupt application section IRQ2. This No interruption will occur. When any
key is pressed, the row line of the corresponding key becomes low level, causing the output of the 4-input NAND gate to become high level . At this time, IRQ2 generates a positive transition and applies for an interrupt
to the CPU. . After the CPU responds to the interrupt, it calls the keyboard program 1 of the aforementioned timing scan method to find the pressed key and perform
corresponding processing.


EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号