www.ti.com
Peripheral Library APIs for I2S Configuration
413
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Inter-Integrated Sound (I2S) Multichannel Audio Serial Port
12.4.4 APIs to Control FIFO Structures Associated With I2S Peripheral
12.4.4.1 void I2SRxFIFODisable (unsigned long ulBase)
Disables RX FIFO.
Parameters:
ulBase — the base address of the I2S module
This function disables the I2S RX FIFO.
Returns:
None
12.4.4.2 void I2SRxFIFOEnable (unsigned long ulBase, unsigned long ulRxLevel, unsigned long
ulWordsPerTransfer)
Configures and enables RX FIFO.
Parameters:
ulBase — the base address of the I2S module
ulRxLevel — the RX FIFO DMA request level
ulWordsPerTransfer — the number of words transferred from the FIFO
This function configures and enables I2S RX FIFO.
The parameter ulRxLevel sets the level at which receive DMA requests are generated. This should be
nonzero integer multiple of number of serializers enabled as receivers.
The parameter ulWordsPerTransfer sets the number of words transferred to the RX FIFO from the
data lines. This value must equal the number of serializers used as receivers.
Returns:
None
12.4.4.3 unsigned long I2SRxFIFOStatusGet (unsigned long ulBase)
Get the RX FIFO status.
Parameters:
ulBase — the base address of the I2S module
This function gets the number of 32-bit words currently in the RX FIFO.
Returns:
Returns RX FIFO status.