Check gpio validity and attach to corresponding signal
Allocate new I2S channel(s)
Initialize I2S channel to standard mode
Free I2S DMA descriptor and DMA buffer
Revoke the GPIO that configured as I2S output signal
Initialize I2S DMA interrupt
Reserve the GPIO that configured as I2S output signal
Allocate memory for I2S DMA descriptor and DMA buffer
Preload the data into TX DMA buffer
Reconfigure the I2S clock for standard mode
Reconfigure the I2S slot for standard mode
Attach data out signal and data in signal to a same gpio
Check gpio validity and output mclk signal
Initialize I2S channel to PDM RX mode
Initialize I2S channel to PDM TX mode
Set event callbacks for I2S channel
Get I2S channel information
Reconfigure the I2S GPIO for standard mode
Reconfigure the I2S clock for PDM RX mode
Reconfigure the I2S GPIO for PDM TX mode
Reconfigure the I2S clock for PDM TX mode
Reconfigure the I2S slot for PDM TX mode
Reconfigure the I2S GPIO for PDM RX mode
Reconfigure the I2S slot for PDM RX mode