1. 首页
  2. 课程学习
  3. 嵌入式
  4. USB转换器范例展示一个PS2®软分离功能

USB转换器范例展示一个PS2®软分离功能

上传者: 2022-10-12 09:36:34上传 PDF文件 159.99 KB 热度 5次

ThisTechnicalBriefdescribesthecreationofaUSB

devicethatcanenumerateasamouseorasa

keyboard,dependingonwhichPS/2

®

peripheralis

pluggedintoit.TheSoftDetachprovisionofthe

PIC16C745/765supportfirmwaremakesthecreation

ofsuchadevicepossible.TechnicalBriefs,TB055and

TB056,describeindetailtheimplementationofaPS/2

toUSBmousetranslatorandaPS/2toUSBkeyboard

translator,respectively.ThisBriefwillnotdiscussthe

translationofeitherofthesetwodevices.Itfocuseson

theSoftDetachfunctionandmodifyingthedescriptor

jumptableforadevicewithmultiplesetsofdescriptors.

TB058DemonstratingtheSoftDetachFunctionWithaPS/2toUSBTranslatorExampleSoftDetachisoneofthemostusefulfeaturesonAuthor:RestonConditMicrochip'sPIC16C745/765USBmicrocontroller.TheMicrochipTechnologyInc.reasontheSoftDetachcommandissouseful,isthat,inapplicationssuchasthisone,nospecialdriverneedstobecreatedforthehost.ThemoretypicalINTRODUCTION

下载地址
用户评论