__HAL_PWR_GET_ODRUDR_FLAG macro
Check PWR flag is set or not.
Syntax
#define __HAL_PWR_GET_ODRUDR_FLAG(__FLAG__) ((PWR->CSR & (__FLAG__)) == (__FLAG__))
Arguments
__FLAG__
specifies the flag to check. This parameter can be one of the following values: @arg PWR_FLAG_ODRDY: This flag indicates that the Over-drive mode is ready @arg PWR_FLAG_ODSWRDY: This flag indicates that the Over-drive mode switching is ready @arg PWR_FLAG_UDRDY: This flag indicates that the Under-drive mode is enabled in Stop mode
Return value
The new state of __FLAG__ (TRUE or FALSE).
Notes
These macros can be used only for STM32F42xx/STM3243xx devices.