Data Fields
_Fftc_InstanceInfo Struct Reference

Fftc_InstanceInfo. More...

#include <fftc_pvt.h>

Data Fields

uint8_t instNum
uint32_t refCnt
Cppi_CpDma cpdmaNum
uint32_t baseQueueNum
Cppi_Handle hCppi
Fftc_LldObj fftcLldObj
uint8_t bIsDftSizeListInUse
Fftc_TxQInfo Fftc_txQInfo [FFTC_MAX_NUM_TXQUEUES]
Fftc_FlowInfo Fftc_flowInfo [FFTC_MAX_NUM_FLOWS]
Fftc_RxGlobalInfo Fftc_rxObjGlobalInfo [FFTC_MAX_NUM_RXOBJECTS]
uint8_t pad [32]

Detailed Description

Fftc_InstanceInfo.

Data structure to hold the current state and configuration in driver for each FFTC peripheral instance.

* Used by FFTC driver internally for book-keeping purposes *


Field Documentation

Tx queue number base for this FFTC peripheral instance.

Boolean flag to track if DFT size list configuration is being used by any of the Tx flows configured in the driver.

The DFT size list is a shared resource between all the FFT queues in the H/W and only one application MUST use it at a time. The driver ensures this using this flag. This is set to 1, when a Tx flow using DFT size list is configured to indicate DFT size list in use and 0 otherwise.

CPDMA Number corresponding to this FFTC peripheral instance.

Holds info pertinent to all flows configured using the driver for this FFTC instance.

Holds global info pertinent to all the Rx objects created using the driver.

Holds the state information pertinent to all the FFTC Tx queues (4) managed by the driver for this instance.

Handle to the FFTC LLD object corresponding to this instance.

Handle to the FFTC CPDMA

FFTC peripheral instance number

Padding to align the data structure on L2 cache line

Reference counter that keeps track of the number of applications that are using this FFTC instance.

This counter is incremented whenever 'Fftc_open ()' is called and a valid FFTC instance handle is returned and is decremented whenever 'Fftc_close ()' API is called. When this count reaches zero, the FFTC CPDMA is closed and all associated information is completely cleaned up and would have to be re-initialized using 'Fftc_init ()' API.


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

Copyright 2014, Texas Instruments Incorporated