Floating-Point Unit (FPU)
9.2 API Functions
Functions
void ROM_FPUDisable (void)
void ROM_FPUEnable (void)
void ROM_FPUFlushToZeroModeSet (uint32_t ui32Mode)
void ROM_FPUHalfPrecisionModeSet (uint32_t ui32Mode)
void ROM_FPULazyStackingEnable (void)
void ROM_FPUNaNModeSet (uint32_t ui32Mode)
void ROM_FPURoundingModeSet (uint32_t ui32Mode)
void ROM_FPUStackingDisable (void)
void ROM_FPUStackingEnable (void)
9.2.1 Function Documentation
9.2.1.1 ROM_FPUDisable
Disables the floating-point unit.
Prototype:
void
ROM_FPUDisable(void)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_FPUTABLE is an array of pointers located at ROM_APITABLE[26].
ROM_FPUDisable is a function pointer located at ROM_FPUTABLE[1].
Description:
This function disables the floating-point unit, preventing floating-point instructions from execut-
ing (generating a NOCP usage fault instead).
Returns:
None.
9.2.1.2 ROM_FPUEnable
Enables the floating-point unit.
Prototype:
void
ROM_FPUEnable(void)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_FPUTABLE is an array of pointers located at ROM_APITABLE[26].
ROM_FPUEnable is a function pointer located at ROM_FPUTABLE[0].
82 April 8, 2013