Data Fields
_Fftc_RxInfo Struct Reference

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_RequestInfofreeResultQueue
Fftc_RequestInforesultQueue
uint8_t resultQueueLen
uint32_t rxFull
uint32_t rxBadLength
uint32_t rxBadDestn

Detailed Description

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 *


Field Documentation

High priority accumulator channel number used

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.

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.

Indicates if accumulator list is managed by driver

Rx object configuration

CPPI flow Id corresponding to this Rx object

Destination/Rx Queue Number where the FFTC result for this Rx object will be output to by the hardware.

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

Rx semaphore handle.

Used only if the Rx object was configured to use interrupts and in blocking mode.

Interrupt threshold value configured.

16-byte aligned high priority accumulator list used for this core.

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.

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.

Number of entries in the result queue yet to be processed by the DSP application.

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.

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.

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.

Global Rx object identifier.

Used to identify a Rx object uniquely in the global Rx object database.


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

Copyright 2014, Texas Instruments Incorporated