STM32L486xx HAL User Manual
Functions
RCC Private Functions
RCC

Functions

static HAL_StatusTypeDef RCC_SetFlashLatencyFromMSIRange (uint32_t msirange)
 Update number of Flash wait states in line with MSI range and current voltage range.

Function Documentation

static HAL_StatusTypeDef RCC_SetFlashLatencyFromMSIRange ( uint32_t  msirange) [static]

Update number of Flash wait states in line with MSI range and current voltage range.

Parameters:
msirangeMSI range value from RCC_MSIRANGE_0 to RCC_MSIRANGE_11
Return values:
HALstatus

Definition at line 1555 of file stm32l4xx_hal_rcc.c.

References __HAL_FLASH_GET_LATENCY, __HAL_FLASH_SET_LATENCY, __HAL_RCC_PWR_CLK_DISABLE, __HAL_RCC_PWR_CLK_ENABLE, __HAL_RCC_PWR_IS_CLK_ENABLED, FLASH_LATENCY_0, FLASH_LATENCY_1, FLASH_LATENCY_2, FLASH_LATENCY_3, HAL_PWREx_GetVoltageRange(), PWR_REGULATOR_VOLTAGE_SCALE1, RCC_MSIRANGE_10, RCC_MSIRANGE_7, and RCC_MSIRANGE_8.

Referenced by HAL_RCC_OscConfig().