Freescale Semiconductor Inc.
Main Page | Data Structures | File List | Data Fields | Globals

cam_instance_t Struct Reference

#include <etpu_cam.h>


Detailed Description

A structure to represent an instance of CAM. It includes static CAM initialization items.

Definition at line 42 of file etpu_cam.h.

Data Fields

const uint8_t chan_num
const uint8_t priority
const uint8_t log_size
uint32_t * cpba
uint32_t * cpba_log


Field Documentation

const uint8_t cam_instance_t::chan_num
 

Channel number of the CAM channel.

Definition at line 44 of file etpu_cam.h.

Referenced by fs_etpu_cam_config(), fs_etpu_cam_init(), and fs_etpu_cam_reset_log().

uint32_t* cam_instance_t::cpba
 

Channel parameter base address. Set cpba = 0 to use automatic allocation of eTPU DATA RAM for CAM channel parameters using the eTPU utility function fs_etpu_malloc (recommanded), or assign the cpba manually by an address where the CAM channel parameter space will start from, e.g. 0xC3FC8100.

Definition at line 48 of file etpu_cam.h.

Referenced by fs_etpu_cam_get_states(), and fs_etpu_cam_init().

uint32_t* cam_instance_t::cpba_log
 

Pointer to the CAM log buffer in eTPU DATA RAM. Set cpba_log = 0 to use automatic allocation of eTPU DATA RAM for the CAM buffer using the eTPU utility function fs_etpu_malloc (recommanded), or assign the cpba_log manually by an address where the CAM buffer will start.

Definition at line 53 of file etpu_cam.h.

Referenced by fs_etpu_cam_copy_log(), and fs_etpu_cam_init().

const uint8_t cam_instance_t::log_size
 

CAM log array size as a number of logged items.

Definition at line 46 of file etpu_cam.h.

Referenced by fs_etpu_cam_copy_log(), and fs_etpu_cam_init().

const uint8_t cam_instance_t::priority
 

Channel priority for the CAM channel.

Definition at line 45 of file etpu_cam.h.

Referenced by fs_etpu_cam_init().


The documentation for this struct was generated from the following file: