SoftDevice NVIC internal functions

S113 SoftDevice v7.0.1 API

Functions

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

Detailed Description

Function Documentation

__STATIC_INLINE uint32_t __sd_nvic_app_accessible_irq ( IRQn_Type IRQn )

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_INLINE int __sd_nvic_irq_disable ( void )

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

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

Checks if priority is available to application.

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