/* Checks whether the FLASH Sleep Mode status is SET or RESET.  */
FlagStatus FLASH_GetFLASHSleepModeSTS(void)
/* Checks whether the FLASH Sleep Mode status is SET or RESET.  */
FlagStatus FLASH_GetFLASHSleepModeSTS(void)
{
    FlagStatus bitstatus = RESET;
    if ((FLASH->AC & AC_SLMF_MSK) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}