openMMC
Open Source Modular MMC for AMCs
|
Topics | |
CMSIS Core Instruction Interface | |
Macros | |
#define | __get_FPSCR() ((uint32_t)0U) |
Get FPSCR. | |
#define | __set_FPSCR(x) ((void)(x)) |
Set FPSCR. | |
#define | __get_FPSCR() ((uint32_t)0U) |
Get FPSCR. | |
#define | __set_FPSCR(x) ((void)(x)) |
Set FPSCR. | |
#define | __get_xPSR __get_PSR |
Get xPSR Register. | |
Functions | |
__STATIC_INLINE uint32_t | __get_CONTROL (void) |
Enable IRQ Interrupts. | |
__STATIC_INLINE void | __set_CONTROL (uint32_t control) |
Set Control Register. | |
__STATIC_INLINE uint32_t | __get_IPSR (void) |
Get IPSR Register. | |
__STATIC_INLINE uint32_t | __get_APSR (void) |
Get APSR Register. | |
__STATIC_INLINE uint32_t | __get_xPSR (void) |
Get xPSR Register. | |
__STATIC_INLINE uint32_t | __get_PSP (void) |
Get Process Stack Pointer. | |
__STATIC_INLINE void | __set_PSP (uint32_t topOfProcStack) |
Set Process Stack Pointer. | |
__STATIC_INLINE uint32_t | __get_MSP (void) |
Get Main Stack Pointer. | |
__STATIC_INLINE void | __set_MSP (uint32_t topOfMainStack) |
Set Main Stack Pointer. | |
__STATIC_INLINE uint32_t | __get_PRIMASK (void) |
Get Priority Mask. | |
__STATIC_INLINE void | __set_PRIMASK (uint32_t priMask) |
Set Priority Mask. | |
__STATIC_INLINE uint32_t | __get_FPSCR (void) |
Get FPSCR. | |
__STATIC_INLINE void | __set_FPSCR (uint32_t fpscr) |
Set FPSCR. | |
__STATIC_FORCEINLINE void | __enable_irq (void) |
Enable IRQ Interrupts. | |
__STATIC_FORCEINLINE void | __disable_irq (void) |
Disable IRQ Interrupts. | |
__STATIC_FORCEINLINE uint32_t __get_FPSCR | ( | void | ) | ((uint32_t)0U) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armclang.h>
Get FPSCR.
Returns the current value of the Floating Point Status/Control register.
#define __get_FPSCR | ( | void | ) | ((uint32_t)0U) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armclang_ltm.h>
Get FPSCR.
Returns the current value of the Floating Point Status/Control register.
__STATIC_FORCEINLINE uint32_t __get_xPSR | ( | void | ) | __get_PSR |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_iccarm.h>
Get xPSR Register.
Returns the content of the xPSR Register.
#define __set_FPSCR | ( | x | ) | ((void)(x)) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armclang.h>
Set FPSCR.
Assigns the given value to the Floating Point Status/Control register.
[in] | fpscr | Floating Point Status/Control value to set |
#define __set_FPSCR | ( | x | ) | ((void)(x)) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armclang_ltm.h>
Set FPSCR.
Assigns the given value to the Floating Point Status/Control register.
[in] | fpscr | Floating Point Status/Control value to set |
__STATIC_FORCEINLINE void __disable_irq | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_gcc.h>
Disable IRQ Interrupts.
Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes.
__STATIC_FORCEINLINE void __enable_irq | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_gcc.h>
Enable IRQ Interrupts.
Enables IRQ interrupts by clearing the I-bit in the CPSR. Can only be executed in Privileged modes.
__STATIC_FORCEINLINE uint32_t __get_APSR | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get APSR Register.
Returns the content of the APSR Register.
__STATIC_FORCEINLINE uint32_t __get_CONTROL | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Enable IRQ Interrupts.
Get Control Register.
Enables IRQ interrupts by clearing the I-bit in the CPSR. Can only be executed in Privileged modes.
Disable IRQ Interrupts
Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes.
Get Control Register
Returns the content of the Control Register.
Returns the content of the Control Register.
__STATIC_INLINE uint32_t __get_FPSCR | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get FPSCR.
Returns the current value of the Floating Point Status/Control register.
__STATIC_FORCEINLINE uint32_t __get_IPSR | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get IPSR Register.
Returns the content of the IPSR Register.
__STATIC_FORCEINLINE uint32_t __get_MSP | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get Main Stack Pointer.
Returns the current value of the Main Stack Pointer (MSP).
__STATIC_FORCEINLINE uint32_t __get_PRIMASK | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get Priority Mask.
Returns the current state of the priority mask bit from the Priority Mask Register.
__STATIC_FORCEINLINE uint32_t __get_PSP | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get Process Stack Pointer.
Returns the current value of the Process Stack Pointer (PSP).
__STATIC_INLINE uint32_t __get_xPSR | ( | void | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Get xPSR Register.
Returns the content of the xPSR Register.
__STATIC_FORCEINLINE void __set_CONTROL | ( | uint32_t | control | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Set Control Register.
Writes the given value to the Control Register.
[in] | control | Control Register value to set |
__STATIC_FORCEINLINE void __set_FPSCR | ( | uint32_t | fpscr | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Set FPSCR.
Assigns the given value to the Floating Point Status/Control register.
[in] | fpscr | Floating Point Status/Control value to set |
__STATIC_FORCEINLINE void __set_MSP | ( | uint32_t | topOfMainStack | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Set Main Stack Pointer.
Assigns the given value to the Main Stack Pointer (MSP).
[in] | topOfMainStack | Main Stack Pointer value to set |
__STATIC_FORCEINLINE void __set_PRIMASK | ( | uint32_t | priMask | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Set Priority Mask.
Assigns the given value to the Priority Mask Register.
[in] | priMask | Priority Mask |
__STATIC_FORCEINLINE void __set_PSP | ( | uint32_t | topOfProcStack | ) |
#include <port/ucontroller/nxp/lpc17xx/bootloader/inc/cmsis_armcc.h>
Set Process Stack Pointer.
Assigns the given value to the Process Stack Pointer (PSP).
[in] | topOfProcStack | Process Stack Pointer value to set |