/* Checks whether the specified PWR flag is set or not.  */
FlagStatus PWR_GetFlagStatus(u32 flag)
/* Checks whether the specified PWR flag is set or not.  */
FlagStatus PWR_GetFlagStatus(u32 flag)
{
    return (FlagStatus)(PWR->CSR & flag);
}