針對(duì)目前使用的RS232接口數(shù)字化B超鍵盤存在PC主機(jī)啟動(dòng)時(shí)不能設(shè)置BIOS,提出一種PS2鍵盤的設(shè)計(jì)方法。基于W78E052D單片機(jī),采用8通道串行A/D轉(zhuǎn)換器設(shè)計(jì)了8個(gè)TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發(fā)送,正交編碼器信號(hào)通過XC9536XL轉(zhuǎn)換為單片機(jī)可接收的中斷信號(hào),軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開機(jī)可設(shè)置BIOS同時(shí),又可實(shí)現(xiàn)超聲特有功能,不需要專門設(shè)計(jì)驅(qū)動(dòng)程序,接口簡單,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
標(biāo)簽: 單片機(jī) B超 數(shù)字化 鍵盤設(shè)計(jì)
上傳時(shí)間: 2013-10-10
上傳用戶:asdfasdfd
使用的是API編程,可格式化、校驗(yàn)和讀寫特殊扇區(qū)。可用作Windows下的磁盤加密。本函數(shù)還有以下兩個(gè)缺點(diǎn)以待改進(jìn): 1.本函數(shù)還只能讀能讀 A: 和 B:,即只能對(duì)軟盤操作 2.不能改變磁盤扇區(qū)大小,只能是標(biāo)準(zhǔn)的 512 個(gè)字節(jié)。 參數(shù)說明: command 操作: 0 重置磁盤 2 讀扇區(qū) 3 寫扇區(qū) 4 校驗(yàn)磁道 5 格式化磁道 8 得到設(shè)備參數(shù) (int 1EH) drive 驅(qū)動(dòng)器 A:=0 B:=1 head 磁頭號(hào),范圍 0 - 1 track 磁道號(hào),范圍 0 - 84 ( 80 - 84 為特殊磁道,通常用來加密 ) sector 扇區(qū)號(hào),范圍 0 - 255 ( 19 - 255 為非標(biāo)準(zhǔn)扇區(qū)編號(hào),通常用來加密) nsectors 每次讀或?qū)懙纳葏^(qū)數(shù),不能超出每磁道的最大扇區(qū)數(shù) buffer 數(shù)據(jù)寫入或讀出的緩沖區(qū),大小為 512 個(gè)字節(jié) 返回值 ( 同 Int 13H ): 0x0 成功 0x1 無效的命令 0x3 磁盤被寫保護(hù) 0x4 扇區(qū)沒有找到 0xa 發(fā)現(xiàn)壞扇區(qū) 0x80 磁盤沒有準(zhǔn)備好
標(biāo)簽: Windows API 函數(shù) 磁盤
上傳時(shí)間: 2013-12-05
上傳用戶:moerwang
A.執(zhí)行SPLIB B.執(zhí)行SPDOS C.裝載拼音模塊D.裝載五筆字型輸入模塊32.在漢字輸入狀態(tài)下, 按下Shift+A組合鍵后,輸入了_______。 ... A.按原代碼方式B.按指定字體C.按標(biāo)準(zhǔn)方式D. 按分欄方式41.FoxBASE啟動(dòng)后,在圓點(diǎn)"."提示符下,執(zhí)行命令文件MAIN.
上傳時(shí)間: 2015-04-02
上傳用戶:極客
實(shí)現(xiàn)一個(gè)銷售網(wǎng)絡(luò)擴(kuò)張后A、B 分店所在城市分布查詢系統(tǒng),用命令行執(zhí)行。從data1.txt讀入,輸出到result1.txt(詳見內(nèi)附說明)
標(biāo)簽: 銷售 網(wǎng)絡(luò) 分 城市
上傳時(shí)間: 2015-06-08
上傳用戶:15071087253
ITU-T G.729語音壓縮算法。 description: Fixed-point description of commendation G.729 with ANNEX B Coding of Speech at 8 kbit/s using Conjugate-Structure Algebraic-Code-Excited Linear-Prediction (CS-ACELP) with Voice Activity Decision(VAD), Discontinuous Transmission(DTX), and Comfort Noise Generation(CNG).
標(biāo)簽: description commendation Fixed-point 729
上傳時(shí)間: 2014-11-23
上傳用戶:thesk123
21世紀(jì)大學(xué)新型參考教材系列 集成電路B 荒井
上傳時(shí)間: 2013-04-15
上傳用戶:eeworm
家電維修(最基礎(chǔ)的教程B)1-20.Torrent
上傳時(shí)間: 2013-06-10
上傳用戶:eeworm
jk-b交通信號(hào)控制機(jī)原理圖
標(biāo)簽: jk-b 交通信號(hào) 控制機(jī) 原理圖
上傳時(shí)間: 2013-07-13
上傳用戶:eeworm
專輯類-實(shí)用電子技術(shù)專輯-385冊-3.609G jk-b交通信號(hào)控制機(jī)原理圖-1.3M.zip
標(biāo)簽: jk-b 1.3 zip 交通信號(hào)
上傳時(shí)間: 2013-08-02
上傳用戶:zhf1234
專輯類-電子基礎(chǔ)類專輯-153冊-2.20G 21世紀(jì)大學(xué)新型參考教材系列-集成電路B-荒井-159頁-2.8M.pdf
上傳時(shí)間: 2013-05-16
上傳用戶:pkkkkp
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1