I2S2_Init() function
Initializes the Audio Codec audio interface (I2S)
Syntax
static uint8_t I2S2_Init(uint32_t AudioFreq); Arguments
AudioFreq
Audio frequency to be configured for the I2S peripheral.
Notes
This function assumes that the I2S input clock (through PLL_R in Devices RevA/Z and through dedicated PLLI2S_R in Devices RevB/Y) is already configured and ready to be used.