參數(shù)資料
型號(hào): AN1775
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: Expanding Digital Input with an A/D Converter
中文描述: 擴(kuò)展數(shù)字輸入與A / D轉(zhuǎn)換器
文件頁(yè)數(shù): 9/12頁(yè)
文件大?。?/td> 283K
代理商: AN1775
Application Note
A Brief Example with the MC68HC705P6A MCU
AN1775 Rev. 1
A Brief Example with the MC68HC705P6A MCU
The small code segment example that follows illustrates the software
implementation of this method of keypress arbitration. The example was
defined around the spreadsheet analysis example shown in
Table 1
.
The MC68HC705P6A (P6A) MCU features a 4-channel, 8-bit A/D
converter. The P6A ADC uses continuous conversion, making a new
value available every 32 internal clock cycles after being turned on.
The software example assumes a resistor ladder is connected to AD0
(A/D channel 0, port C, pin 6). The software is not intended to be a
complete application.
This software starts the ADC, selects channel 0 for A/D conversions,
then polls the ADC data register to determine if a key was pressed. The
software uses a lookup table, with predefined maximum and minimum
ADC values which represent a specific segment in the divider being
grounded.
Once the key has been arbitrated, the RAM variable InKey will tell an
application which key was switched most recently.
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) 包裝:管件