现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2012年
20期
25-27
,共3页
PDIUSBD12%USB%固件程序%分层结构
PDIUSBD12%USB%固件程序%分層結構
PDIUSBD12%USB%고건정서%분층결구
随着计算机技术的更新换代,USB接口已经成为个人计算机上最重要的外部设备扩展接口,在进行USB外设开发的过程中需要编写其固件程序.在此对USB接口固件程序进行了开发,在Keil C51软件环境中,采用C语言开发.介绍了固件程序的主要功能,给出了固件程序的流程、结构和端点配置,并给出了重点地方的具体程序.该固件编写采用分层结构简洁且易于修改和测试,既增加了代码的可读性,又增加了程序的通用性和移植性.
隨著計算機技術的更新換代,USB接口已經成為箇人計算機上最重要的外部設備擴展接口,在進行USB外設開髮的過程中需要編寫其固件程序.在此對USB接口固件程序進行瞭開髮,在Keil C51軟件環境中,採用C語言開髮.介紹瞭固件程序的主要功能,給齣瞭固件程序的流程、結構和耑點配置,併給齣瞭重點地方的具體程序.該固件編寫採用分層結構簡潔且易于脩改和測試,既增加瞭代碼的可讀性,又增加瞭程序的通用性和移植性.
수착계산궤기술적경신환대,USB접구이경성위개인계산궤상최중요적외부설비확전접구,재진행USB외설개발적과정중수요편사기고건정서.재차대USB접구고건정서진행료개발,재Keil C51연건배경중,채용C어언개발.개소료고건정서적주요공능,급출료고건정서적류정、결구화단점배치,병급출료중점지방적구체정서.해고건편사채용분층결구간길차역우수개화측시,기증가료대마적가독성,우증가료정서적통용성화이식성.