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
This example demonstrates usage of the LPG click board in mikroBUS form factor. LPG click is suitable for detecting LPG concentration - LPG checker. LCD shows PPM value of LPG concentration.
[Learn More]
Brushless 31 Click is a compact add-on board for precise and efficient brushless motor control. This board features the TB6605FTG, a three-phase full sine-wave brushless motor controller from Toshiba Semiconductor. The board features six onboard external N-channel MOSFETs for smooth motor operation, sine-wave PWM driving with 2-phase modulation for high efficiency and low noise, and includes essential functions like dead time, brake, and manual/auto lead-angle control. It supports clockwise and counterclockwise rotation and offers motor lock protection for added safety. Brushless 31 Click is ideal for home appliances, fans, and office equipment applications, where reliable and precise motor control is critical.
[Learn More]
Headphone AMP 3 Click is a compact add-on board that contains a stereo headphone amplifier. This board features the INA1620, a high-fidelity audio operational amplifier with integrated thin-film resistors and EMI filters from Texas Instruments. Over its dual amplifiers, it achieves a very low noise density and drives a 32Ω load at 150mW of output power.
[Learn More]