/* Check the status of an IOS Access Interrupt.  */
uint32_t am_hal_ios_access_int_status_get(bool bEnabledOnly)
/* Check the status of an IOS Access Interrupt.  */
uint32_t am_hal_ios_access_int_status_get(bool bEnabledOnly)
{
    if ( bEnabledOnly )
    {
        uint32_t u32RetVal = AM_REG(IOSLAVE, REGACCINTSTAT);
        return u32RetVal & AM_REG(IOSLAVE, REGACCINTEN);
    }
    else
    {
        return AM_REG(IOSLAVE, REGACCINTSTAT);
    }
}