Data Structures |
struct | USB_ClassInfo_AOA_Host_t |
| Android Open Accessory Class Host Mode Configuration and State Structure. More...
|
Defines |
#define | AOA_ERROR_LOGICAL_CMD_FAILED 0x80 |
Enumerations |
enum | AOA_Host_EnumerationFailure_ErrorCodes_t {
AOA_ENUMERROR_NoError = 0,
AOA_ENUMERROR_InvalidConfigDescriptor = 1,
AOA_ENUMERROR_NoCompatibleInterfaceFound = 2,
AOA_ENUMERROR_PipeConfigurationFailed = 3
} |
Functions |
void | AOA_Host_USBTask (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
bool | AOA_Host_ValidateAccessoryDevice (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, const USB_Descriptor_Device_t *const DeviceDescriptor, bool *const NeedModeSwitch) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2) ATTR_NON_NULL_PTR_ARG(3) |
uint8_t | AOA_Host_ConfigurePipes (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, uint16_t ConfigDescriptorSize, void *ConfigDescriptorData) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3) |
uint8_t | AOA_Host_StartAccessoryMode (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | AOA_Host_SendData (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, const uint8_t *const Buffer, const uint16_t Length) |
uint8_t | AOA_Host_SendString (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, const char *const String) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2) |
uint8_t | AOA_Host_SendByte (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, const uint8_t Data) ATTR_NON_NULL_PTR_ARG(1) |
uint16_t | AOA_Host_BytesReceived (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
int16_t | AOA_Host_ReceiveByte (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
uint8_t | AOA_Host_Flush (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1) |
void | AOA_Host_CreateStream (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, FILE *const Stream) |
void | AOA_Host_CreateBlockingStream (USB_ClassInfo_AOA_Host_t *const AOAInterfaceInfo, FILE *const Stream) |
Host mode driver for the library USB Android Open Accessory Class driver.
- Note:
- This file should not be included directly. It is automatically included as needed by the USB module driver dispatch header located in LUFA/Drivers/USB.h.