SoftDevice NVIC internal functions

S130 SoftDevice v2.0.0 API

S130 SoftDevice v2.0.0

Functions

static int __sd_nvic_irq_disable (void)
Disables IRQ interrupts globally, including the SoftDevice's interrupts. More...
static void __sd_nvic_irq_enable (void)
Enables IRQ interrupts globally, including the SoftDevice's interrupts.
static uint32_t __sd_nvic_app_accessible_irq (IRQn_Type IRQn)
Checks if IRQn is available to application. More...
static uint32_t __sd_nvic_is_app_accessible_priority (uint32_t priority)
Checks if IRQn is available to application. More...

Detailed Description

Function Documentation

static uint32_t __sd_nvic_app_accessible_irq ( IRQn_Type IRQn )
inline static

Checks if IRQn is available to application.

Parameters
[in] IRQn irq to check
Return values
1 (true) if the irq to check is available to the application
static int __sd_nvic_irq_disable ( void )
inline static

Disables IRQ interrupts globally, including the SoftDevice's interrupts.

Return values
The value of PRIMASK prior to disabling the interrupts.
static uint32_t __sd_nvic_is_app_accessible_priority ( uint32_t priority )
inline static

Checks if IRQn is available to application.

Parameters
[in] priority priority to check
Return values
1 (true) if the priority to check is available to the application