StillImage.h File Reference

Host mode driver for the library USB Still Image Class driver. More...

#include "../../USB.h"
#include "../Common/StillImage.h"
#include <string.h>

Data Structures

struct  USB_ClassInfo_SI_Host_t
 Still Image Class Host Mode Configuration and State Structure. More...

Defines

#define SI_ERROR_LOGICAL_CMD_FAILED   0x80

Enumerations

enum  SIHost_EnumerationFailure_ErrorCodes_t {
  SI_ENUMERROR_NoError = 0,
  SI_ENUMERROR_InvalidConfigDescriptor = 1,
  SI_ENUMERROR_NoSIInterfaceFound = 2,
  SI_ENUMERROR_EndpointsNotFound = 3
}

Functions

uint8_t SImage_Host_ConfigurePipes (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, uint16_t ConfigDescriptorSize, void *DeviceConfigDescriptor) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(3)
uint8_t SImage_Host_OpenSession (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1)
uint8_t SImage_Host_CloseSession (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1)
uint8_t SImage_Host_SendBlockHeader (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, SI_PIMA_Container_t *const PIMAHeader)
uint8_t SImage_Host_ReceiveBlockHeader (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, SI_PIMA_Container_t *const PIMAHeader)
uint8_t SImage_Host_SendCommand (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, const uint16_t Operation, const uint8_t TotalParams, uint32_t *Params) ATTR_NON_NULL_PTR_ARG(1)
uint8_t SImage_Host_ReceiveResponse (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1)
bool SImage_Host_IsEventReceived (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1)
uint8_t SImage_Host_ReceiveEventHeader (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, SI_PIMA_Container_t *const PIMAHeader) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)
uint8_t SImage_Host_SendData (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, void *Buffer, const uint16_t Bytes) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)
uint8_t SImage_Host_ReadData (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo, void *Buffer, const uint16_t Bytes) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(2)
static void SImage_Host_USBTask (USB_ClassInfo_SI_Host_t *const SIInterfaceInfo)

Detailed Description

Host mode driver for the library USB Still Image Class driver.

Note:
This file should not be included directly. It is automatically included as needed by the class driver dispatch header located in LUFA/Drivers/USB/Class/StillImage.h.
Generated by  doxygen 1.6.3