![]() |
![]() |
Fftc_RxInfo. More...
#include <fftc_pvt.h>
Data Fields | |
Fftc_DrvHandle | hFFTC |
uint8_t | rxGlobalObjId |
Fftc_RxCfg | cfg |
uint32_t | cppiFlowId |
uint32_t | descSize |
uint8_t | bPSInfoPresent |
Cppi_PSLoc | psLocation |
uint32_t | cppiRxQNum |
Qmss_QueueHnd | hQmssRxQ |
uint8_t | bUsesDrvAccumList |
uint16_t | intThreshold |
uint8_t | accChannelNum |
void * | hResultSem |
uint8_t | bPingListUsed |
uint32_t * | pHiPrioAccList |
uint32_t * | pOrigAccListAddress |
Fftc_RequestInfo * | freeResultQueue |
Fftc_RequestInfo * | resultQueue |
uint8_t | resultQueueLen |
uint32_t | rxFull |
uint32_t | rxBadLength |
uint32_t | rxBadDestn |
Fftc_RxInfo.
Data structure to hold the globally accessible info related to a Rx object.
Used to hold the pending requests and results info for all the Rx objects created using the driver.
* Used by FFTC driver internally for book-keeping purposes *
uint8_t _Fftc_RxInfo::accChannelNum |
High priority accumulator channel number used
uint8_t _Fftc_RxInfo::bPingListUsed |
Boolean flag used by driver internally to track if it processed the Ping/Pong accumulator list last.
The accumulator writes the results alternatively to the Ping and Pong lists of the accumulator. The driver needs to track which of these lists it last processed, so that it can process the other one next time around.
uint8_t _Fftc_RxInfo::bPSInfoPresent |
Due to H/W Bug, the PS Info location is no longer reliable when read from descriptor. Hence the driver must track the PS Info location and its presence for all Rx objects.
Indicates whether the flow used by this object was configured to receive PS Info.
uint8_t _Fftc_RxInfo::bUsesDrvAccumList |
Indicates if accumulator list is managed by driver
Rx object configuration
uint32_t _Fftc_RxInfo::cppiFlowId |
CPPI flow Id corresponding to this Rx object
uint32_t _Fftc_RxInfo::cppiRxQNum |
Destination/Rx Queue Number where the FFTC result for this Rx object will be output to by the hardware.
uint32_t _Fftc_RxInfo::descSize |
Rx free descriptor size allocated for this object. Valid only if Rx object was created using driver managed Rx flow configuration
Free result entry list.
FFTC instance object handle
Reference to parent driver handle. Indicates which FFTC instance this object belongs.
Qmss_QueueHnd _Fftc_RxInfo::hQmssRxQ |
Handle to the destination queue where results will be stored
void* _Fftc_RxInfo::hResultSem |
Rx semaphore handle.
Used only if the Rx object was configured to use interrupts and in blocking mode.
uint16_t _Fftc_RxInfo::intThreshold |
Interrupt threshold value configured.
uint32_t* _Fftc_RxInfo::pHiPrioAccList |
16-byte aligned high priority accumulator list used for this core.
uint32_t* _Fftc_RxInfo::pOrigAccListAddress |
Original address of the High priority Accumulator list allocated from the heap (pre-16 byte alignment address).
Used to store the original accumulator address, needed while freeing the list.
Cppi_PSLoc _Fftc_RxInfo::psLocation |
Due to H/W Bug, the PS Info location is no longer reliable when read from descriptor. Hence the driver must track the PS Info location and its presence for all Rx objects.
Indicates PS location configured on the flow used by this Rx object.
When: 0 - Inidcates that PS info is in the "Protocol Specific Word" fields of the CPPI Descriptor.
1 - Indicates that the PS info is at the start of the data buffer itself.
Valid only when 'bPSInfoPresent' set to 1.
Result list.
Software list maintained by the driver. Holds all the FFT results arrived for processing by this Rx object.
uint8_t _Fftc_RxInfo::resultQueueLen |
Number of entries in the result queue yet to be processed by the DSP application.
uint32_t _Fftc_RxInfo::rxBadDestn |
Indicates the number of times a result packet was received with a wrong flow Id, i.e., the flow Id on the received packet doesnt match the flow Id the Rx object is configured to use. This is incremented only if Fftc_rxParseResult () API is called on a result received.
uint32_t _Fftc_RxInfo::rxBadLength |
Indicates the number of times a result packet was received with an invalid length, i.e., length of result received doesnt match the expected/calculated length. This is incremented only if Fftc_rxParseResult () API is called on a result received.
uint32_t _Fftc_RxInfo::rxFull |
Indicates the number of times a packet was received by ISR but couldnt be posted to the application, because of lack of any free result entries to save the result, i.e., result queue is full.
uint8_t _Fftc_RxInfo::rxGlobalObjId |
Global Rx object identifier.
Used to identify a Rx object uniquely in the global Rx object database.