#include "ConfigDescriptor.h"
Functions | |
uint8_t | USB_Host_GetDeviceConfigDescriptor (uint16_t *const ConfigSizePtr, void *BufferPtr) |
void | USB_Host_GetNextDescriptorOfType (uint16_t *const BytesRem, uint8_t **const CurrConfigLoc, const uint8_t Type) |
void | USB_Host_GetNextDescriptorOfTypeBefore (uint16_t *const BytesRem, uint8_t **const CurrConfigLoc, const uint8_t Type, const uint8_t BeforeType) |
void | USB_Host_GetNextDescriptorOfTypeAfter (uint16_t *const BytesRem, uint8_t **const CurrConfigLoc, const uint8_t Type, const uint8_t AfterType) |
uint8_t | USB_Host_GetNextDescriptorComp_P (uint16_t *const BytesRem, uint8_t **const CurrConfigLoc, uint8_t(*const SearchRoutine)(void *)) |
uint8_t USB_Host_GetDeviceConfigDescriptor | ( | uint16_t *const | ConfigSizePtr, | |
void * | BufferPtr | |||
) |
Retrieves the configuration descriptor data or size from an attached device via a standard request.
ConfigSizePtr | Pointer to a uint16_t for either storing or retrieving the configuration descriptor size | |
BufferPtr | Pointer to the buffer for storing the configuration descriptor data. If this is NULL, the size of the configuration descriptor will be retrieved instead and placed in the variable pointed to by ConfigSizePtr. If this is non-NULL, the number of bytes indicated by ConfigSizePtr of the configuration descriptor will be loaded into the buffer |
uint8_t USB_Host_GetNextDescriptorComp_P | ( | uint16_t *const | BytesRem, | |
uint8_t **const | CurrConfigLoc, | |||
uint8_t(*)(void *) | SearchRoutine | |||
) |
void USB_Host_GetNextDescriptorOfType | ( | uint16_t *const | BytesRem, | |
uint8_t **const | CurrConfigLoc, | |||
const uint8_t | Type | |||
) |
void USB_Host_GetNextDescriptorOfTypeAfter | ( | uint16_t *const | BytesRem, | |
uint8_t **const | CurrConfigLoc, | |||
const uint8_t | Type, | |||
const uint8_t | AfterType | |||
) |
void USB_Host_GetNextDescriptorOfTypeBefore | ( | uint16_t *const | BytesRem, | |
uint8_t **const | CurrConfigLoc, | |||
const uint8_t | Type, | |||
const uint8_t | BeforeType | |||
) |