CMSIS-CORE  Version 4.30
CMSIS-CORE support for Cortex-M processor-based devices
 All Data Structures Files Functions Variables Enumerations Enumerator Groups Pages
FPU Functions (only Cortex-M7)

Functions that relate to the Floating-Point Arithmetic Unit. More...

Functions

__STATIC_INLINE uint32_t SCB_GetFPUType (void)
 Get the FPU type.
 

Description

The Cortex-M7 processor includes optional floating-point arithmetic functionality, with support for single and double-precision arithmetic. The Cortex-M7 processor with FPU is an implementation of the single-precision and double-precision variant of the ARMv7-M Architecture with Floating-Point Extension (FPv5).

Function Documentation

__STATIC_INLINE uint32_t SCB_GetFPUType ( void  )
Returns
  • 0: No FPU
  • 1: Single precision FPU
  • 2: Double + Single precision FPU

The function returns the implemented FPU type.