/* Checks whether the Flash Read Protection Status is set or not.  */
uint8_t FMC_GetReadProtectionStatus(void)
/* Checks whether the Flash Read Protection Status is set or not.  */
uint8_t FMC_GetReadProtectionStatus(void)
{
    if (FMC->OBCS_B.READPROT)
    {
        return SET;
    }
    return RESET;
}