/* Returns the current protection level for an EEPROM block. */
uint32_t EEPROMBlockProtectGet(uint32_t ui32Block)
/* Returns the current protection level for an EEPROM block. */
uint32_t EEPROMBlockProtectGet(uint32_t ui32Block)
{
    ASSERT(ui32Block < BLOCKS_FROM_EESIZE(HWREG(EEPROM_EESIZE)));
    HWREG(EEPROM_EEBLOCK) = ui32Block;
    return (HWREG(EEPROM_EEPROT));
}