Macros | Functions
fpu.h File Reference

FPU support for SAM. More...

#include <compiler.h>
Include dependency graph for fpu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ADDR_CPACR   0xE000ED88
 
#define REG_CPACR   (*((volatile uint32_t *)ADDR_CPACR))
 

Functions

static __always_inline void fpu_disable (void)
 Disable FPU. More...
 
static __always_inline void fpu_enable (void)
 Enable FPU. More...
 
static __always_inline bool fpu_is_enabled (void)
 Check if FPU is enabled. More...
 

Detailed Description

FPU support for SAM.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Definition in file fpu.h.

Macro Definition Documentation

◆ ADDR_CPACR

#define ADDR_CPACR   0xE000ED88

Address for ARM CPACR

Definition at line 43 of file fpu.h.

◆ REG_CPACR

#define REG_CPACR   (*((volatile uint32_t *)ADDR_CPACR))

CPACR Register

Definition at line 46 of file fpu.h.

Function Documentation

◆ fpu_disable()

static __always_inline void fpu_disable ( void  )
static

Disable FPU.

Definition at line 64 of file fpu.h.

◆ fpu_enable()

static __always_inline void fpu_enable ( void  )
static

Enable FPU.

Definition at line 51 of file fpu.h.

◆ fpu_is_enabled()

static __always_inline bool fpu_is_enabled ( void  )
static

Check if FPU is enabled.

Returns
Return ture if FPU is enabled, otherwise return false.

Definition at line 79 of file fpu.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05