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
Angle 6 Click is a compact add-on board that detects the absolute angular position of a permanent magnet, typically a diametrically magnetized cylinder on a rotating shaft. This board features the MAQ470GQE, a 12-bit contactless angle sensor with PWM output from Monolithic Power Systems. It supports a wide range of magnetic field strengths and spatial configurations, with both end-of-shaft and off-axis (side-shaft mounting), supported configurations. Fast data acquisition and processing provides accurate angle measurement at speeds from 0 to 60,000 rpm, alongside magnetic field strength detection with programmable thresholds.
[Learn More]
Angle click features the A1335 Hall-effect angle sensing IC, made by Allegro MicroSystems LLC. This IC measures the magnetic field angular vector, based on the actual physical reading of the integrated Hall-effect sensor, as well as the user selected parameters, such as the digital filtering, dynamic range and scaling.
[Learn More]
This project contains example for testing modules on Mikromedia 4 for Kinetis Capacitive.
[Learn More]