Peripheral Library APIs for I2S Configuration
www.ti.com
414
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Inter-Integrated Sound (I2S) Multichannel Audio Serial Port
12.4.4.4 void I2STxFIFODisable (unsigned long ulBase)
Disables transmit (TX) FIFO.
Parameters:
ulBase — the base address of the I2S module
This function disables the I2S TX FIFO.
Returns:
None
12.4.4.5 void I2STxFIFOEnable (unsigned long ulBase, unsigned long ulTxLevel, unsigned long
ulWordsPerTransfer)
Configures and enables TX FIFO.
Parameters:
ulBase — the base address of the I2S module
ulTxLevel — the TX FIFO DMA request level
ulWordsPerTransfer — the number of words transferred from the FIFO
This function configures and enables the I2S TX FIFO.
The parameter ulTxLevel sets the level at which transmit DMA requests are generated. This should be
nonzero integer multiple of number of serializers enabled as transmitters.
The parameter ulWordsPerTransfer sets the number of words that are transferred from the TX FIFO
to the data lines. This value must equal the number of serializers used as transmitters.
Returns:
None
12.4.4.6 unsigned long I2STxFIFOStatusGet (unsigned long ulBase)
Gets the TX FIFO status.
Parameters:
ulBase — the base address of the I2S module
This function gets the number of 32-bit words currently in the TX FIFO.
Returns:
Returns TX FIFO status.