SAM3S8/SD8 Software Package: libraries/usb/common/core/USBDescriptors.c File Reference

SAM3S8/SD8 Software Package 1.2
Functions

# USBDescriptors.c File Reference

`#include "USBDescriptors.h"`

Go to the source code of this file.

## Functions

uint32_t | USBGenericDescriptor_GetLength (const USBGenericDescriptor *descriptor)
uint8_t | USBGenericDescriptor_GetType (const USBGenericDescriptor *descriptor)
USBGenericDescriptor * | USBGenericDescriptor_GetNextDescriptor (const USBGenericDescriptor *descriptor)
USBGenericDescriptor * | USBGenericDescriptor_Parse (const USBGenericDescriptor *descriptor, uint32_t totalLength, USBDescriptorParseFunction parseFunction, void *parseArg)
uint8_t | USBEndpointDescriptor_GetNumber (const USBEndpointDescriptor *endpoint)
uint8_t | USBEndpointDescriptor_GetDirection (const USBEndpointDescriptor *endpoint)
uint8_t | USBEndpointDescriptor_GetType (const USBEndpointDescriptor *endpoint)
uint16_t | USBEndpointDescriptor_GetMaxPacketSize (const USBEndpointDescriptor *endpoint)
uint8_t | USBEndpointDescriptor_GetInterval (const USBEndpointDescriptor *endpoint)
uint32_t | USBConfigurationDescriptor_GetTotalLength (const USBConfigurationDescriptor *configuration)
unsigned char | USBConfigurationDescriptor_GetNumInterfaces (const USBConfigurationDescriptor *configuration)
unsigned char | USBConfigurationDescriptor_IsSelfPowered (const USBConfigurationDescriptor *configuration)
void | USBConfigurationDescriptor_Parse (const USBConfigurationDescriptor *configuration, USBInterfaceDescriptor **interfaces, USBEndpointDescriptor **endpoints, USBGenericDescriptor **others)

## Detailed Description

Implements for USB descriptor methods described by the USB specification.

Definition in file USBDescriptors.c.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines