STM32F479xx HAL User Manual
|
Extension features functions. More...
Functions | |
void | SAI_BlockSynchroConfig (SAI_HandleTypeDef *hsai) |
Configure SAI Block synchronization mode. | |
uint32_t | SAI_GetInputClock (SAI_HandleTypeDef *hsai) |
Get SAI Input Clock based on SAI source clock selection. |
Extension features functions.
=============================================================================== ##### Extension features Functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to manage the possible SAI clock sources.
void SAI_BlockSynchroConfig | ( | SAI_HandleTypeDef * | hsai | ) |
Configure SAI Block synchronization mode.
hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
SAI | Clock Input |
Definition at line 98 of file stm32f4xx_hal_sai_ex.c.
References __SAI_HandleTypeDef::Init, __SAI_HandleTypeDef::Instance, SAI_SYNCEXT_DISABLE, SAI_SYNCEXT_OUTBLOCKA_ENABLE, SAI_SYNCEXT_OUTBLOCKB_ENABLE, SAI_SYNCHRONOUS_EXT_SAI2, SAI_InitTypeDef::Synchro, and SAI_InitTypeDef::SynchroExt.
Referenced by HAL_SAI_Init().
uint32_t SAI_GetInputClock | ( | SAI_HandleTypeDef * | hsai | ) |
Get SAI Input Clock based on SAI source clock selection.
hsai | pointer to a SAI_HandleTypeDef structure that contains the configuration information for SAI module. |
SAI | Clock Input |
Definition at line 161 of file stm32f4xx_hal_sai_ex.c.
References __HAL_RCC_I2S_CONFIG, __HAL_RCC_SAI_BLOCKACLKSOURCE_CONFIG, __HAL_RCC_SAI_BLOCKBCLKSOURCE_CONFIG, assert_param, SAI_InitTypeDef::ClockSource, EXTERNAL_CLOCK_VALUE, HAL_RCCEx_GetPeriphCLKFreq(), HSE_VALUE, HSI_VALUE, __SAI_HandleTypeDef::Init, __SAI_HandleTypeDef::Instance, IS_SAI_CLK_SOURCE, RCC_I2SCLKSOURCE_EXT, RCC_PLLSOURCE_HSE, RCC_PLLSOURCE_HSI, SAI_CLKSOURCE_PLLI2S, and SAI_CLKSOURCE_PLLSAI.
Referenced by HAL_SAI_Init().