I2S
I2S (inter-integrated circuit sound) is a serial communication protocol that is designed specifically for digital audio data.
final class I2S
The I2S class allows the board to send and receive audio data as a master device. Make sure that the sample rate and sample bits match the audio.
// Initialize an I2S interface.
let i2c = I2S(Id.I2S0, rate: 44_100, bits: 16)