__HAL_RCC_SAI2_CONFIG macro
Macro to configure SAI2 clock source selection.
Arguments
__SOURCE__
specifies the SAI2 clock source. This parameter can be one of the following values: @arg RCC_SAI2CLKSOURCE_PLLI2S: PLLI2S_Q clock divided by PLLI2SDIVQ used as SAI2 clock. @arg RCC_SAI2CLKSOURCE_PLLSAI: PLLISAI_Q clock divided by PLLSAIDIVQ used as SAI2 clock. @arg RCC_SAI2CLKSOURCE_PLLR: PLL VCO Output divided by PLLR used as SAI2 clock. @arg RCC_SAI2CLKSOURCE_PLLSRC: HSI or HSE depending from PLL Source clock used as SAI2 clock.
Notes
This configuration is only available with STM32F446xx Devices. This function must be called before enabling PLL, PLLSAI, PLLI2S and the SAI clock.