English
Language : 

EFM32WG Datasheet, PDF (813/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
34 FPUEH - Floating Point Unit Exception Handler
0123 4
Float ing-Point
Except ion
FPU Except ion
IRQ
Unit
Handler
ARM Cort ex-M4
34.1 Functional description
What?
Quick Facts
FPU exception handler allows user defined
handling of FPU exceptions.
Why?
Proper handling of exceptions is crucial in
many applications.
How?
The FPU exception handler monitors status
flags from the FPU and issues an interrupt
when exceptions occur.
The Floating Point Unit, FPU, included in the Cortex-M4 has a set of status flags indicating mathematical
errors that cause floating-point exceptions. Available status flags are:
• FPIOC - FPU invalid operation.
• FPDZC - FPU divide-by-zero exception.
• FPUFC - FPU underflow exception.
• FPOFC - FPU overflow exception.
• FPIDC - FPU input denormal exception.
• FPIXC - FPU inexact exception.
Refer to the EFM32 Cortex-M4 Reference Manual for more information about the FPU status flags.
The FPU exception handler, FPUEH, monitors these status flags and sets the corresponding interrupt
flag in FPUEH_IF when they are asserted. An interrupt request will be set if the corresponding bit
in FPUEH_IEN is set. The interrupt flags can also be set and cleared using the FPUEH_IFS and
FPUEH_IFC registers, respectively.
Note
Before the FPUEH interrupt flags can be cleared, the corresponding status flag in the FPU
has to be cleared. Refer to EFM32 Cortex-M4 Reference Manual for information on how to
do this.
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
813
www.energymicro.com