The Inter-IC Sound (I2S) module provides a bidirectional, synchronous, and digital audio link for transferring the PCM audio data. The I2S bus has separate clock signals for lower jitter than typical serial buses. When the I2S module is in controller mode it will only provide control signals (MCK, SCK, and FS) on the I2S bus, the data transfer will happen between the separate I2S Transmitter and I2S Receiver slave modules on the same bus.
It's used to generate continuous I2S compatible clock and control signals for I2S slaves such like audio codecs to use.
Initialize and deinitialize the driver and associated hardware
Enable or disable the I2S controller hardware
Serial Clock (SCK) generation
Word Select (WS)/Frame Select (FS) generation
The I2S master/controller capable hardware