DIY Logging Volt/Ampmeter
|
Modules | |
CMSIS Core Instruction Interface | |
Access to dedicated instructions. | |
Macros | |
#define | __get_FPSCR() ((uint32_t)0U) |
Get FPSCR. More... | |
#define | __set_FPSCR(x) ((void)(x)) |
Set FPSCR. More... | |
Functions | |
static __inline uint32_t | __get_CONTROL (void) |
Enable IRQ Interrupts. More... | |
static __inline void | __set_CONTROL (uint32_t control) |
Set Control Register. More... | |
static __inline uint32_t | __get_IPSR (void) |
Get IPSR Register. More... | |
static __inline uint32_t | __get_APSR (void) |
Get APSR Register. More... | |
static __inline uint32_t | __get_xPSR (void) |
Get xPSR Register. More... | |
static __inline uint32_t | __get_PSP (void) |
Get Process Stack Pointer. More... | |
static __inline void | __set_PSP (uint32_t topOfProcStack) |
Set Process Stack Pointer. More... | |
static __inline uint32_t | __get_MSP (void) |
Get Main Stack Pointer. More... | |
static __inline void | __set_MSP (uint32_t topOfMainStack) |
Set Main Stack Pointer. More... | |
static __inline uint32_t | __get_PRIMASK (void) |
Get Priority Mask. More... | |
static __inline void | __set_PRIMASK (uint32_t priMask) |
Set Priority Mask. More... | |
static __inline uint32_t | __get_FPSCR (void) |
Get FPSCR. More... | |
static __inline void | __set_FPSCR (uint32_t fpscr) |
Set FPSCR. More... | |
__attribute__ ((always_inline)) static __inline uint32_t __get_CONTROL(void) | |
Enable IRQ Interrupts. More... | |
#define __get_FPSCR | ( | ) | ((uint32_t)0U) |
Get FPSCR.
Returns the current value of the Floating Point Status/Control register.
Definition at line 754 of file cmsis_armclang.h.
#define __set_FPSCR | ( | x | ) | ((void)(x)) |
Set FPSCR.
Assigns the given value to the Floating Point Status/Control register.
[in] | fpscr | Floating Point Status/Control value to set |
Definition at line 766 of file cmsis_armclang.h.
__attribute__ | ( | (always_inline) | ) |
Enable IRQ Interrupts.
Set FPSCR.
Get FPSCR.
Get Control Register.
Disable IRQ Interrupts.
Set Priority Mask.
Get Priority Mask.
Set Main Stack Pointer.
Get Main Stack Pointer.
Set Process Stack Pointer.
Get Process Stack Pointer.
Get xPSR Register.
Get APSR Register.
Get IPSR Register.
Set 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.
Writes the given value to the Control Register.
[in] | control | Control Register value to set |
Returns the content of the IPSR Register.
Returns the content of the APSR Register.
Returns the content of the xPSR Register.
Returns the current value of the Process Stack Pointer (PSP).
Assigns the given value to the Process Stack Pointer (PSP).
[in] | topOfProcStack | Process Stack Pointer value to set |
Returns the current value of the Main Stack Pointer (MSP).
Assigns the given value to the Main Stack Pointer (MSP).
[in] | topOfMainStack | Main Stack Pointer value to set |
Returns the current state of the priority mask bit from the Priority Mask Register.
Assigns the given value to the Priority Mask Register.
[in] | priMask | Priority Mask |
Enables IRQ interrupts by clearing the I-bit in the CPSR. Can only be executed in Privileged modes.
Disables IRQ interrupts by setting the I-bit in the CPSR. Can only be executed in Privileged modes.
Returns the content of the Control Register.
Returns the current value of the Floating Point Status/Control register.
Assigns the given value to the Floating Point Status/Control register.
[in] | fpscr | Floating Point Status/Control value to set |
Definition at line 142 of file cmsis_armclang.h.
|
static |
Get APSR Register.
Returns the content of the APSR Register.
Definition at line 166 of file cmsis_armcc.h.
|
static |
Enable IRQ Interrupts.
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.
Definition at line 130 of file cmsis_armcc.h.
|
static |
Get FPSCR.
Returns the current value of the Floating Point Status/Control register.
Definition at line 345 of file cmsis_armcc.h.
|
static |
Get IPSR Register.
Returns the content of the IPSR Register.
Definition at line 154 of file cmsis_armcc.h.
|
static |
Get Main Stack Pointer.
Returns the current value of the Main Stack Pointer (MSP).
Definition at line 214 of file cmsis_armcc.h.
|
static |
Get Priority Mask.
Returns the current state of the priority mask bit from the Priority Mask Register.
Definition at line 238 of file cmsis_armcc.h.
|
static |
Get Process Stack Pointer.
Returns the current value of the Process Stack Pointer (PSP).
Definition at line 190 of file cmsis_armcc.h.
|
static |
Get xPSR Register.
Returns the content of the xPSR Register.
Definition at line 178 of file cmsis_armcc.h.
|
static |
Set Control Register.
Writes the given value to the Control Register.
[in] | control | Control Register value to set |
Definition at line 142 of file cmsis_armcc.h.
|
static |
Set FPSCR.
Assigns the given value to the Floating Point Status/Control register.
[in] | fpscr | Floating Point Status/Control value to set |
Definition at line 362 of file cmsis_armcc.h.
|
static |
Set Main Stack Pointer.
Assigns the given value to the Main Stack Pointer (MSP).
[in] | topOfMainStack | Main Stack Pointer value to set |
Definition at line 226 of file cmsis_armcc.h.
|
static |
Set Priority Mask.
Assigns the given value to the Priority Mask Register.
[in] | priMask | Priority Mask |
Definition at line 250 of file cmsis_armcc.h.
|
static |
Set Process Stack Pointer.
Assigns the given value to the Process Stack Pointer (PSP).
[in] | topOfProcStack | Process Stack Pointer value to set |
Definition at line 202 of file cmsis_armcc.h.