Data Structures | Defines | Enumerations

StillImage.h File Reference

Common definitions and declarations for the library USB Still Image Class driver. More...

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

Data Structures

struct  SI_PIMA_Container_t
 PIMA Still Image Device Command/Response Container. More...

Defines

#define UNICODE_STRING_LENGTH(Chars)   ((Chars) << 1)
#define PIMA_COMMAND_SIZE(Params)
#define PIMA_DATA_SIZE(DataLen)

Enumerations

enum  SI_PIMA_Container_Types_t {
  CType_Undefined = 0,
  CType_CommandBlock = 1,
  CType_DataBlock = 2,
  CType_ResponseBlock = 3,
  CType_EventBlock = 4
}
enum  SI_PIMA_ResponseCodes_t {
  PIMA_RESPONSE_OK = 1,
  PIMA_RESPONSE_GeneralError = 2,
  PIMA_RESPONSE_SessionNotOpen = 3,
  PIMA_RESPONSE_InvalidTransaction = 4,
  PIMA_RESPONSE_OperationNotSupported = 5,
  PIMA_RESPONSE_ParameterNotSupported = 6
}

Detailed Description

Common definitions and declarations 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.