| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
StillImageClassCommon.h File Reference

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

`#include "../../Core/StdDescriptors.h"`

## Data Structures
struct | PIMA_Container_t
| PIMA Still Image Device Command/Response Container. More...

## Macros
#define | PIMA_COMMAND_SIZE(Params) ((sizeof(PIMA_Container_t) - 12) + ((Params) * sizeof(uint32_t)))
#define | PIMA_DATA_SIZE(DataLen) ((sizeof(PIMA_Container_t) - 12) + (DataLen))
#define | UNICODE_STRING_LENGTH(Chars) ((Chars) << 1)

## Enumerations
enum | PIMA_Container_Types_t { PIMA_CONTAINER_Undefined = 0, PIMA_CONTAINER_CommandBlock = 1, PIMA_CONTAINER_DataBlock = 2, PIMA_CONTAINER_ResponseBlock = 3, PIMA_CONTAINER_EventBlock = 4 }
enum | 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 }
enum | SI_Descriptor_ClassSubclassProtocol_t { SI_CSCP_StillImageClass = 0x06, SI_CSCP_StillImageSubclass = 0x01, SI_CSCP_BulkOnlyProtocol = 0x01 }

## 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 USB module driver dispatch header located in LUFA/Drivers/USB.h.