TI-RTOS Drivers  tidrivers_full_2_20_00_08
Modules | Macros
Camera_control command and status codes
Collaboration diagram for Camera_control command and status codes:

Modules

 Status Codes
 
 Command Codes
 

Macros

#define CAMERA_CMD_RESERVED   32
 
#define CAMERA_STATUS_RESERVED   -32
 

Detailed Description

These Camera macros are reservations for Camera.h

Macro Definition Documentation

#define CAMERA_CMD_RESERVED   32

Common Camera_control command code reservation offset. Camera driver implementations should offset command codes with CAMERA_CMD_RESERVED growing positively

Example implementation specific command codes:

1 #define CAMERAXYZ_CMD_COMMAND0 CAMERA_CMD_RESERVED + 0
2 #define CAMERAXYZ_CMD_COMMAND1 CAMERA_CMD_RESERVED + 1
#define CAMERA_STATUS_RESERVED   -32

Common Camera_control status code reservation offset. Camera driver implementations should offset status codes with CAMERA_STATUS_RESERVED growing negatively.

Example implementation specific status codes:

1 #define CAMERAXYZ_STATUS_ERROR0 CAMERA_STATUS_RESERVED - 0
2 #define CAMERAXYZ_STATUS_ERROR1 CAMERA_STATUS_RESERVED - 1
3 #define CAMERAXYZ_STATUS_ERROR2 CAMERA_STATUS_RESERVED - 2
Copyright 2016, Texas Instruments Incorporated