TI-RTOS Drivers
tidrivers_cc32xx_2_16_01_13
|
Camera driver implementation for a CC3200 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/ports/HwiP.h>
#include <ti/drivers/ports/SemaphoreP.h>
Go to the source code of this file.
Data Structures | |
struct | CameraCC3200DMA_HWAttrs |
CameraCC3200DMA Hardware attributes. More... | |
struct | CameraCC3200DMA_Object |
CameraCC3200DMA Object. More... | |
Macros | |
#define | CameraCC3200DMA_DMA_TRANSFER_SIZE 64 |
Typedefs | |
typedef struct CameraCC3200DMA_HWAttrs | CameraCC3200DMA_HWAttrs |
CameraCC3200DMA Hardware attributes. More... | |
typedef struct CameraCC3200DMA_Object | CameraCC3200DMA_Object |
CameraCC3200DMA Object. More... | |
typedef struct CameraCC3200DMA_Object * | CameraCC3200DMA_Handle |
Variables | |
const Camera_FxnTable | CameraCC3200DMA_fxnTable |
#define CameraCC3200DMA_DMA_TRANSFER_SIZE 64 |
typedef struct CameraCC3200DMA_HWAttrs CameraCC3200DMA_HWAttrs |
CameraCC3200DMA Hardware attributes.
These fields, with the exception of intPriority, are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CC3200Ware 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. For example, for SYS/BIOS applications, refer to the ti.sysbios.family.arm.m3.Hwi documentation for SYS/BIOS usage of interrupt priorities. If the driver uses the ti.drivers.ports 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 CameraCC3200DMA_Object CameraCC3200DMA_Object |
CameraCC3200DMA Object.
The application must not access any member variables of this structure!
typedef struct CameraCC3200DMA_Object * CameraCC3200DMA_Handle |
const Camera_FxnTable CameraCC3200DMA_fxnTable |