#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <USBRequests.h>
#include <USBDescriptors.h>
#include <USBLib_Types.h>
Go to the source code of this file.
Classes | |
struct | _USBDDriver |
struct | _USBDDriverDescriptors |
Typedefs | |
typedef struct _USBDDriver | USBDDriver |
USB device driver structure, holding a list of descriptors identifying the device as well as the driver current state. More... | |
typedef struct _USBDDriverDescriptors | USBDDriverDescriptors |
List of all descriptors used by a USB device driver. Each descriptor can be provided in two versions: full-speed and high-speed. Devices which are not high-speed capable do not need to provided high-speed descriptors and the full-speed qualifier & other speed descriptors. More... | |
Functions | |
USBDDriver * | USBD_GetDriver (void) |
void | USBDDriver_clearOTGFeatures (USBDDriver *pDriver) |
USBConfigurationDescriptor * | USBDDriver_GetCfgDescriptors (USBDDriver *pDriver, uint8_t cfgNum) |
void | USBDDriver_Initialize (USBDDriver *pDriver, const USBDDriverDescriptors *pDescriptors, uint8_t *pInterfaces) |
uint8_t | USBDDriver_IsRemoteWakeUpEnabled (const USBDDriver *pDriver) |
void | USBDDriver_RequestHandler (USBDDriver *pDriver, const USBGenericRequest *pRequest) |
uint8_t | USBDDriver_returnOTGFeatures (const USBDDriver *pDriver) |
WEAK void | USBDDriverCallbacks_ConfigurationChanged (uint8_t cfgnum) |
WEAK void | USBDDriverCallbacks_InterfaceSettingChanged (uint8_t interface, uint8_t setting) |
USB Device Driver class definition.
Definition in file USBDDriver.h.