/* Checks whether the FLASH Read Out Protection Status is set or not.  */
FlagStatus FLASH_GetReadOutProtectionSTS(void)
/* Checks whether the FLASH Read Out Protection Status is set or not.  */
FlagStatus FLASH_GetReadOutProtectionSTS(void)
{
    FlagStatus readoutstatus = RESET;
    if ((FLASH->OB & RDPRTL1_MSK) != (uint32_t)RESET)
    {
        readoutstatus = SET;
    }
    else
    {
        readoutstatus = RESET;
    }
    return readoutstatus;
}