Go to the source code of this file.
CAM driver API definitions.
This file provides data structures and APIs for controlling the CAM peripheral on the EfxSapphireSoC platform.
Definition in file cam.h.
Data Structures | |
| struct | cam_api_t |
| CAM API structure. More... | |
| struct | cam_instance |
| CAM instance structure. More... | |
Typedefs | |
| typedef struct cam_instance | cam_instance_t |
| Forward declaration of CAM instance. | |
Enumerations | |
Callback Enums | |
Enums used for driver callback handling.
| |
| enum | cam_status_t { CAM_OK = 0 , CAM_ERR = 1 , CAM_USER_ERR = 2 , CAM_SKIP = 3 } |
| CAM Status List. More... | |
Functions | |
Camera Common Function (read/write register) | |
Helper function. | |
| void | cam_writeReg (cam_instance_t *cam, u16 reg, u8 data) |
| Write Data to specific register in camera. | |
| u8 | cam_readReg (cam_instance_t *cam, u16 reg) |
| Read Data from specific register in camera. | |