參數(shù)資料
型號: AN1775
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Expanding Digital Input with an A/D Converter
中文描述: 擴(kuò)展數(shù)字輸入與A / D轉(zhuǎn)換器
文件頁數(shù): 2/12頁
文件大?。?/td> 283K
代理商: AN1775
Application Note
AN1775 Rev. 1
Background
Dedicated Input
A microcontroller typically receives user input through digital input pins.
The simplest implementation is a single switch directly connected to a
digital input pin. This is easy to realize, but is not the most efficient use
of resources, with one pin dedicated to one input. One port data bit
represents the state of one switch.
Matrix Input
Another method uses a keypad, a common element in embedded
systems. These are ordinarily arranged in a matrix, as shown in
Figure 1
. In this case, the byte value of an entire port data register can
be polled to determine which key was pressed. This is more efficient, as
a 4 x 4 keypad can interface 16 keys with eight input pins.
Figure 1. Resistor Matrix Keypad Using Parallel Port Pins
P x 0
P x 1
P x 2
P x 3
P x 4
P x 5
P x 6
P x 7
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
AN1816 USING THE HC912B32 TO IMPLEMENT THE DISTRIBUTED SYSTEMS INTERFACE (DSI) PROTOCOL
AN2104 Using Background Debug Mode for the M68HC12 Family
AN2154FAP TV/Video Signal Processor
AN22011A For Video·Audio - MD
AN2241 Video Camera Circuit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN17800A 制造商:Panasonic Industrial Company 功能描述:IC
AN17801A 制造商:Panasonic Industrial Company 功能描述:IC
AN17805A 制造商:Panasonic Industrial Company 功能描述:Audio Power Matsushita IC 12-Pin SIP-Hs
AN17807A 制造商:Panasonic Industrial Company 功能描述:IC
AN17808B 功能描述:IC AUDIO AMP 5W 2CH SIL-12 RoHS:是 類別:集成電路 (IC) >> 線性 - 音頻放大器 系列:- 標(biāo)準(zhǔn)包裝:2,000 系列:- 類型:AB 類 輸出類型:2 通道(立體聲) 在某負(fù)載時(shí)最大輸出功率 x 通道數(shù)量:- 電源電壓:4 V ~ 18 V 特點(diǎn):- 安裝類型:通孔 供應(yīng)商設(shè)備封裝:8-DIP 封裝/外殼:8-DIP(0.300",7.62mm) 包裝:管件