CMSIS-Core (Cortex-A)  
CMSIS-Core support for Cortex-A processor-based devices
 
Loading...
Searching...
No Matches
Floating-Point Exception Control register (FPEXC)

Provides a global enable for the Advanced SIMD and Floating-point (VFP) Extensions, and indicates how the state of these extensions is recorded. More...

Functions

__STATIC_FORCEINLINE uint32_t __get_FPEXC (void)
 Get FPEXC.
 
__STATIC_FORCEINLINE void __set_FPEXC (uint32_t fpexc)
 Set FPEXC.
 

Description

Provides a global enable for the Advanced SIMD and Floating-point (VFP) Extensions, and indicates how the state of these extensions is recorded.

Bits Name Function
[31] EX Exception bit.
[30] EN Enable bit.
[29:0] - SUBARCHITECTURE DEFINED.

Consider __get_FPEXC and __set_FPEXC to access this register.

Function Documentation

◆ __get_FPEXC()

__STATIC_INLINE uint32_t __get_FPEXC ( void  )

Get FPEXC.

Returns
Floating Point Exception Control register value

This function returns the current value of the Floating-Point Exception Control register (FPEXC).

◆ __set_FPEXC()

__STATIC_INLINE void __set_FPEXC ( uint32_t  fpexc)

Set FPEXC.

Parameters
[in]fpexcFloating Point Exception Control value to set

This function assigns the given value to the Floating-Point Exception Control register (FPEXC).