Camera driver implementation for a CC32XX Camera controller.
============================================================================
The Camera header file should be included in an application as follows:
Refer to Camera.h for a complete description of APIs & example of use.
#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/Camera.h>
#include <ti/drivers/dpl/HwiP.h>
#include <ti/drivers/dpl/SemaphoreP.h>
Go to the source code of this file.
Data Structures | |
struct | CameraCC32XXDMA_HWAttrs |
CameraCC32XXDMA Hardware attributes. More... | |
struct | CameraCC32XXDMA_Object |
CameraCC32XXDMA Object. More... | |
Macros | |
#define | CameraCC32XXDMA_DMA_TRANSFER_SIZE 64 |
Typedefs | |
typedef struct CameraCC32XXDMA_HWAttrs | CameraCC32XXDMA_HWAttrs |
CameraCC32XXDMA Hardware attributes. More... | |
typedef struct CameraCC32XXDMA_Object | CameraCC32XXDMA_Object |
CameraCC32XXDMA Object. More... | |
typedef struct CameraCC32XXDMA_Object * | CameraCC32XXDMA_Handle |
Variables | |
const Camera_FxnTable | CameraCC32XXDMA_fxnTable |
#define CameraCC32XXDMA_DMA_TRANSFER_SIZE 64 |
typedef struct CameraCC32XXDMA_HWAttrs CameraCC32XXDMA_HWAttrs |
CameraCC32XXDMA Hardware attributes.
These fields, with the exception of intPriority, are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CC32XXWare these definitions are found in:
intPriority is the Camera peripheral's interrupt priority, as defined by the underlying OS. It is passed unmodified to the underlying OS's interrupt handler creation code, so you need to refer to the OS documentation for usage. If the driver uses the ti.dpl interface instead of making OS calls directly, then the HwiP port handles the interrupt priority in an OS specific way. In the case of the SYS/BIOS port, intPriority is passed unmodified to Hwi_create().
A sample structure is shown below:
typedef struct CameraCC32XXDMA_Object CameraCC32XXDMA_Object |
CameraCC32XXDMA Object.
The application must not access any member variables of this structure!
typedef struct CameraCC32XXDMA_Object * CameraCC32XXDMA_Handle |
const Camera_FxnTable CameraCC32XXDMA_fxnTable |