#include "ConfigDescriptor.h"
Functions | |
uint8_t | USB_Host_GetDeviceConfigDescriptor (uint16_t *const ConfigSizePtr, void *BufferPtr) |
uint8_t | USB_Host_GetNextDescriptorComp_P (uint16_t *BytesRem, uint8_t **CurrConfigLoc, uint8_t(*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 * | BytesRem, | |
uint8_t ** | CurrConfigLoc, | |||
uint8_t(*)(void *) | SearchRoutine | |||
) |