Data Structures | Macros | Typedefs | Variables
CameraCC32XXDMA.h File Reference

Detailed Description

Camera driver implementation for a CC32XX Camera controller.

============================================================================

The Camera header file should be included in an application as follows:

#include <ti/drivers/Camera/CameraCC32XXDMA.h>

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_ObjectCameraCC32XXDMA_Handle
 

Variables

const Camera_FxnTable CameraCC32XXDMA_fxnTable
 

Macro Definition Documentation

§ CameraCC32XXDMA_DMA_TRANSFER_SIZE

#define CameraCC32XXDMA_DMA_TRANSFER_SIZE   64

Typedef Documentation

§ 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:

  • inc/hw_memmap.h
  • inc/hw_ints.h

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.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:

const CameraCC32XXDMA_HWAttrs CameraCC32XXDMAHWAttrs[] = {
{
.baseAddr = CAMERA_BASE,
.intNum = INT_CAMERA,
.intPriority = (~0),
.channelIndex = UDMA_CH22_CAMERA
}
};

§ CameraCC32XXDMA_Object

CameraCC32XXDMA Object.

The application must not access any member variables of this structure!

§ CameraCC32XXDMA_Handle

Variable Documentation

§ CameraCC32XXDMA_fxnTable

const Camera_FxnTable CameraCC32XXDMA_fxnTable
Copyright 2017, Texas Instruments Incorporated