/* Checks whether the FLASH Read out Protection Status is set or not.  */
FlagStatus FLASH_OB_GetRDP(void)
/* Checks whether the FLASH Read out Protection Status is set or not.  */
FlagStatus FLASH_OB_GetRDP(void)
{
  FlagStatus readstatus = RESET;
  if ((uint8_t)(FLASH->OBR & (FLASH_OBR_RDPRT1 | FLASH_OBR_RDPRT2)) != RESET)
  {
    readstatus = SET;
  }
  else
  {
    readstatus = RESET;
  }
  return readstatus;
}