/* Return a mask specifying which quadrants of customer INFO space have been disabled for programming. 
Use this function to determine whether programming of customer INFO space has been disabled. */
uint32_t am_hal_flash_info_program_disable_get(void)
/* Return a mask specifying which quadrants of customer INFO space have been disabled for programming. 
Use this function to determine whether programming of customer INFO space has been disabled. */
uint32_t am_hal_flash_info_program_disable_get(void)
{
    if ( customer_info_signature_erased() )
    {
        return 0xFFFFFFFF;
    }
    if ( !am_hal_flash_customer_info_signature_check() )
    {
        return 0xFFFFFFFF;
    }
    return  ((AM_REGVAL(AM_HAL_FLASH_INFO_SECURITY_ADDR) &
                AM_HAL_FLASH_INFO_SECURITY_ENINFOPRGM_M) ^
                AM_HAL_FLASH_INFO_SECURITY_ENINFOPRGM_M) >>
                AM_HAL_FLASH_INFO_SECURITY_ENINFOPRGM_S;
}