LL_SetFlashLatency() function
Update number of Flash wait states in line with new frequency and current voltage range.
Arguments
HCLK_Frequency
HCLK frequency
Return value
An ErrorStatus enumeration value: - SUCCESS: Latency has been modified - ERROR: Latency cannot be modified
Notes
This Function support ONLY devices with supply voltage (voltage range) between 2.7V and 3.6V