#include <I2SCC32XX.h>
§ 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
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
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
Structure to describe the SD0 interface
§ dataInterfaceSD1
Structure to describe the SD1 interface
§ read
Structure to describe the read (in) interface
§ write
Structure to describe the write (out) interface
§ errorCallback
Pointer to error callback
§ updateDataReadFxn
Pointer on the function used to update the FIFO
§ updateDataWriteFxn
Pointer on the function used to update the FIFO
§ hwi
HwiP_Handle I2SCC32XX_Object_::hwi |
Hwi object for interrupts
§ dmaHandle
§ notifyObj
For notification of wake from LPDS
The documentation for this struct was generated from the following file: