System Exception Module
19 System Exception Module
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
API Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
19.1 Introduction
The system exception module provides an interrupt mechanism for handling system exceptions,
such as errors from the floating-point unit.
19.2 API Functions
Functions
void ROM_SysExcIntClear (uint32_t ui32IntFlags)
void ROM_SysExcIntDisable (uint32_t ui32IntFlags)
void ROM_SysExcIntEnable (uint32_t ui32IntFlags)
uint32_t ROM_SysExcIntStatus (bool bMasked)
19.2.1 Function Documentation
19.2.1.1 ROM_SysExcIntClear
Clears system exception interrupt sources.
Prototype:
void
ROM_SysExcIntClear(uint32_t ui32IntFlags)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_SYSEXCTABLE is an array of pointers located at ROM_APITABLE[30].
ROM_SysExcIntClear is a function pointer located at ROM_SYSEXCTABLE[1].
Parameters:
ui32IntFlags is a bit mask of the interrupt sources to be cleared.
Description:
The specified system exception interrupt sources are cleared, so that they no longer assert.
This function must be called in the interrupt handler to keep the interrupt from being recognized
again immediately upon exit.
The ui32IntFlags parameter is the logical OR of any of the following:
SYSEXCP_INT_FP_IXC - Floating-point inexact exception interrupt
SYSEXCP_INT_FP_OFC - Floating-point overflow exception interrupt
April 8, 2013 223