Data Fields
I2SCC32XX_Object_ Struct Reference

#include <I2SCC32XX.h>

Collaboration diagram for I2SCC32XX_Object_:
Collaboration graph
[legend]

Data Fields

bool isOpen
 
bool invertWS
 
bool isMSBFirst
 
bool isDMAUnused
 
uint8_t memorySlotLength
 
uint8_t sampleRotation
 
uint8_t noOfInputs
 
uint8_t noOfOutputs
 
uint8_t udmaArbLength
 
uint8_t dataLength
 
I2S_Role moduleRole
 
I2S_SamplingEdge samplingEdge
 
uint32_t samplingFrequency
 
uint32_t sampleMask
 
uint32_t activatedFlag
 
I2SCC32XX_DataInterface dataInterfaceSD0
 
I2SCC32XX_DataInterface dataInterfaceSD1
 
I2SCC32XX_Interface read
 
I2SCC32XX_Interface write
 
I2S_Callback errorCallback
 
I2SCC32XX_FifoUpdate updateDataReadFxn
 
I2SCC32XX_FifoUpdate updateDataWriteFxn
 
HwiP_Handle hwi
 
UDMACC32XX_Handle dmaHandle
 
Power_NotifyObj notifyObj
 

Field Documentation

§ isOpen

bool I2SCC32XX_Object_::isOpen

To avoid multiple openings of the I2S.

§ invertWS

bool I2SCC32XX_Object_::invertWS

WS inversion. false: The WS signal is not internally inverted. true: The WS signal is internally inverted.

§ isMSBFirst

bool I2SCC32XX_Object_::isMSBFirst

Endianness of the samples transmitted. false: Transmission are performed LSB first. true: Transmission are performed MSB first.

§ isDMAUnused

bool I2SCC32XX_Object_::isDMAUnused

Selection between DMA transmissions and CPU transmissions. false: Transmission are performed by DMA. true: Transmission are performed by CPU.

§ memorySlotLength

uint8_t I2SCC32XX_Object_::memorySlotLength

Select the size of the memory used. I2S_MEMORY_LENGTH_8BITS : Memory length is 8 bits. I2S_MEMORY_LENGTH_16BITS : Memory length is 16 bits. I2S_MEMORY_LENGTH_24BITS : Memory length is 24 bits. I2S_MEMORY_LENGTH_32BITS : Memory length is 32 bits.

§ sampleRotation

uint8_t I2SCC32XX_Object_::sampleRotation

Right rotation of the samples: used to configure the padding before and after the word.

§ noOfInputs

uint8_t I2SCC32XX_Object_::noOfInputs

Number of I2S inputs (possible values are 0, 1 and 2)

§ noOfOutputs

uint8_t I2SCC32XX_Object_::noOfOutputs

Number of I2S outputs (possible values are 0, 1 and 2)

§ udmaArbLength

uint8_t I2SCC32XX_Object_::udmaArbLength

Number of uDMA transfers between two bus arbitration. By increasing this value, you increase the risk of incomplete I2S transfers. Possible values are 1, 2, 4(default), 8, 16, 32, 64 and 128.

§ dataLength

uint8_t I2SCC32XX_Object_::dataLength

Length (in bits) of the data transmitted. Must be between 8 and 32.

§ moduleRole

I2S_Role I2SCC32XX_Object_::moduleRole

Select if the current device is a Slave or a Master. I2S_SLAVE: The device is a slave (clocks are generated externally). I2S_MASTER: The device is a master (clocks are generated internally).

§ samplingEdge

I2S_SamplingEdge I2SCC32XX_Object_::samplingEdge

Select edge sampling type. I2S_SAMPLING_EDGE_FALLING: Sampling on falling edges. I2S_SAMPLING_EDGE_RISING: Sampling on raising edges.

§ samplingFrequency

uint32_t I2SCC32XX_Object_::samplingFrequency

I2S sampling frequency configuration in samples/second.

§ sampleMask

uint32_t I2SCC32XX_Object_::sampleMask

Mask applied to the samples: used to perform sample truncation and avoid transmission of unexpected data.

§ activatedFlag

uint32_t I2SCC32XX_Object_::activatedFlag

List of the activated flags. This field is required for CC32XX as we do not have a mechanism to only read the activated flags.

§ dataInterfaceSD0

I2SCC32XX_DataInterface I2SCC32XX_Object_::dataInterfaceSD0

Structure to describe the SD0 interface

§ dataInterfaceSD1

I2SCC32XX_DataInterface I2SCC32XX_Object_::dataInterfaceSD1

Structure to describe the SD1 interface

§ read

I2SCC32XX_Interface I2SCC32XX_Object_::read

Structure to describe the read (in) interface

§ write

I2SCC32XX_Interface I2SCC32XX_Object_::write

Structure to describe the write (out) interface

§ errorCallback

I2S_Callback I2SCC32XX_Object_::errorCallback

Pointer to error callback

§ updateDataReadFxn

I2SCC32XX_FifoUpdate I2SCC32XX_Object_::updateDataReadFxn

Pointer on the function used to update the FIFO

§ updateDataWriteFxn

I2SCC32XX_FifoUpdate I2SCC32XX_Object_::updateDataWriteFxn

Pointer on the function used to update the FIFO

§ hwi

HwiP_Handle I2SCC32XX_Object_::hwi

Hwi object for interrupts

§ dmaHandle

UDMACC32XX_Handle I2SCC32XX_Object_::dmaHandle

DMA object

§ notifyObj

Power_NotifyObj I2SCC32XX_Object_::notifyObj

For notification of wake from LPDS


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale