![]() |
![]() |
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] |
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 *
uint32_t _Fftc_InstanceInfo::baseQueueNum |
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.
Cppi_CpDma _Fftc_InstanceInfo::cpdmaNum |
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.
Fftc_LldObj _Fftc_InstanceInfo::fftcLldObj |
Handle to the FFTC LLD object corresponding to this instance.
Cppi_Handle _Fftc_InstanceInfo::hCppi |
Handle to the FFTC CPDMA
uint8_t _Fftc_InstanceInfo::instNum |
FFTC peripheral instance number
uint8_t _Fftc_InstanceInfo::pad[32] |
Padding to align the data structure on L2 cache line
uint32_t _Fftc_InstanceInfo::refCnt |
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.