These Camera macros are reservations for Camera.h
#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