/* Get the FMC Read Out Protection Status is set or not.  */
uint8_t FMC_GetReadProtectionStatus(void)
/* Get the FMC Read Out Protection Status is set or not.  */
uint8_t FMC_GetReadProtectionStatus(void)
{
    uint8_t flagstatus = RESET;
    if(FMC->OBCS_B.READPROT != RESET)
    {
        flagstatus = SET;
    }
    else
    {
        flagstatus = RESET;
    }
    return flagstatus;
}