QXK/C++ port to ARM Cortex-M, GNU-ARM toolset. More...
#include "qxk.hpp"
Go to the source code of this file.
Macros | |
#define | QXK_ISR_CONTEXT_() (QXK_get_IPSR() != 0U) |
#define | QXK_CONTEXT_SWITCH_() *Q_UINT2PTR_CAST(uint32_t, 0xE000ED04U) = (1U << 28U) |
#define | QXK_ISR_ENTRY() ((void)0) |
#define | QXK_ISR_EXIT() |
#define | QXK_ARM_ERRATUM_838869() __asm volatile ("dsb" ::: "memory") |
#define | QXK_INIT() QXK_init() |
Functions | |
__attribute__ ((always_inline)) static inline uint32_t QXK_get_IPSR(void) | |
void | QXK_init (void) |
void | QXK_thread_ret (void) |
Definition in file qxk_port.hpp.
#define QXK_ISR_CONTEXT_ | ( | ) | (QXK_get_IPSR() != 0U) |
Definition at line 35 of file qxk_port.hpp.
#define QXK_CONTEXT_SWITCH_ | ( | ) | *Q_UINT2PTR_CAST(uint32_t, 0xE000ED04U) = (1U << 28U) |
Definition at line 45 of file qxk_port.hpp.
#define QXK_ISR_ENTRY | ( | ) | ((void)0) |
Definition at line 49 of file qxk_port.hpp.
#define QXK_ISR_EXIT | ( | ) |
Definition at line 51 of file qxk_port.hpp.
#define QXK_ARM_ERRATUM_838869 | ( | ) | __asm volatile ("dsb" ::: "memory") |
Definition at line 67 of file qxk_port.hpp.
#define QXK_INIT | ( | ) | QXK_init() |
Definition at line 84 of file qxk_port.hpp.
__attribute__ | ( | (always_inline) | ) |
Definition at line 37 of file qxk_port.hpp.
void QXK_init | ( | void | ) |
Definition at line 74 of file qxk_port.cpp.
void QXK_thread_ret | ( | void | ) |