Library Blog
USB Device Library presents the user set of functions required to handle USB device peripheral. A embedded user application program uses API defined in this library to access USB device peripheral. The library has set of functions implemented within library and also uses set of callback functions which will be implemented by application designer outside of the library. Library internaly handles standard device requests, leaving the user to process other requests.
As example of use of this library, following USB device classes are implemented:
HID (Human Interface Devices) class with mouse functionality
MSC BOT (Mass Storage - Bulk Only Transport) class.
CDC (Communications Device Class) class.
USB Device Library features following functions:
USBDev_Init
USBDev_IntHandler
USBDev_GetDeviceState
USBDev_StallEndpoint
USBDev_CtrlStall
USBDev_ClearStallEndpoint
USBDev_RegisterGetDescriptorHandler
USBDev_RegisterEventHandler
USBDev_RegisterSetupReqHandler
USBDev_RegisterDataReceivedHandler
USBDev_RegisterDataSentHandler
USBDev_ConvertStringToDescriptor
USBDev_SendPacket
USBDev_SetReceiveBuffer
USBDev_CtrlDataAck
USBDev_CtrlSendData
Release notes:
Version 1.2.1.0:
- CDC class for PIC16F145x added.
- Examples for PIC16F145x added.
Version 1.2.0.0:
- ARM TI Tiva MCUs supported.
- Examples for mikroMedia 5 for Tiva added.
- PIC16F145x library added.
Version 1.1.0.0:
- CDC class added
- Virtual COM port example added
- Minor bug fixes
USB Icon
USB Icon preview
View full image
ALSO FROM THIS AUTHOR
Temp&Hum 7 click is a Click board which is perfectly suited for measuring the relative humidity (RH) and temperature.
[Learn More]
Thermo 9 Click is a Click board equipped with the TSYS01, a digital temperature sensor from TE Connectivity. Given its main features, the Thermo 9 Click, can be used for industrial control, replacement of thermistors and NTCs, heating/cooling systems, and HVAC.
[Learn More]
Motion 2 Click is a Click board™ based on EKMC1607112, PIR motion sensor from Panasonic Corporation that's used as human motion detector. Also featured on Motion 2 Click bord is TLP241A photorelay from Toshiba that is used to provide a reinforced galvanic isolation for the external signals used to drive some external high power electronic equipment when motion is detected. It's allowing up to 40V between the SSR contacts in OFF state, and currents up to 2A while in ON state, thanks to a very low ON-state resistance. Motion 2 Click board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
[Learn More]