nRF51 SDK - S130 SoftDevice
|
Various types and definitions available to all applications when using SoftDevice. More...
Macros | |
#define | NRF_APP_PRIORITY_THREAD 4 |
#define | PACKED(TYPE) __packed TYPE |
#define | CRITICAL_REGION_ENTER() critical_region_enter() |
Macro for entering a critical region. More... | |
#define | CRITICAL_REGION_EXIT() critical_region_exit() |
Macro for leaving a critical region. More... | |
Enumerations | |
enum | app_irq_priority_t { APP_IRQ_PRIORITY_HIGHEST = 0, APP_IRQ_PRIORITY_HIGH = 1, APP_IRQ_PRIORITY_MID = 2, APP_IRQ_PRIORITY_LOW = 3 } |
The interrupt priorities available to the application while the SoftDevice is active. | |
Functions | |
void | critical_region_enter (void) |
void | critical_region_exit (void) |
static __INLINE uint8_t | current_int_priority_get (void) |
Function for finding the current interrupt level. More... | |
Various types and definitions available to all applications when using SoftDevice.
#define CRITICAL_REGION_ENTER | ( | ) | critical_region_enter() |
Macro for entering a critical region.
#define CRITICAL_REGION_EXIT | ( | ) | critical_region_exit() |
Macro for leaving a critical region.
#define NRF_APP_PRIORITY_THREAD 4 |
"Interrupt level" when running in Thread Mode.
|
static |
Function for finding the current interrupt level.
APP_IRQ_PRIORITY_HIGH | We are running in Application High interrupt level. |
APP_IRQ_PRIORITY_LOW | We are running in Application Low interrupt level. |
APP_IRQ_PRIORITY_THREAD | We are running in Thread Mode. |
< "Interrupt level" when running in Thread Mode.