1. 首页
  2. 课程学习
  3. 嵌入式
  4. 用嵌入式主机的USB键盘

用嵌入式主机的USB键盘

上传者: 2022-10-12 02:07:34上传 PDF文件 485.23 KB 热度 17次

MicrocontrollerapplicationscaneasilysupportUSB

embeddedhostfunctionalitywiththeintroductionof

Microchip’smicrocontrollerswiththeUSBOTG

peripheral.Traditionally,personalcomputershavebeen

usedashostsinaUSBnetwork.Microchip’sUSBOTG

productlinecannowreplacethepersonalcomputerin

thesystembyimplementinganembeddedhost.

Manyembeddedapplicationsrequirecontrolinputsfrom

externaldevices,suchaskeyboards,mice,joysticks,

Point-of-Sale(POS)barcodescannersandmagnetic

codereadershavingHIDKeyboardEmulationmode.

Thisapplicationnotedemonstrateshowtodevelopa

USBkeyboardapplicationthatcanrunontheExplorer

16demoboardwithaUSBPICtail™Plusdaughter

boardusingaMicrochipUSBOTGmicrocontrollerasthe

embeddedhost.AN1212UsingUSBKeyboardwithanEmbeddedHostasCtrl,Shift,AltandGUIkeysmakeupthe8-bitmodifierAuthor:AmardeepGuptabyteinastandardkeyboardreport.Byte1ofthisreportMicrochipTechnologyInc.isaconstant.ThisbyteisreservedfortheuseoftheOriginalEquipmentManufacturer(OEM).INTRODUCTIONTable2describesthekeyboardoutputreport(1byte).Microcontrollerapp

下载地址
用户评论