![]() |
S332 SoftDevice
v6.1.1
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Functions | |
| __STATIC_INLINE uint32_t | sd_nvic_EnableIRQ (IRQn_Type IRQn) |
| Enable External Interrupt. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_DisableIRQ (IRQn_Type IRQn) |
| Disable External Interrupt. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_GetPendingIRQ (IRQn_Type IRQn, uint32_t *p_pending_irq) |
| Get Pending Interrupt. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_SetPendingIRQ (IRQn_Type IRQn) |
| Set Pending Interrupt. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_ClearPendingIRQ (IRQn_Type IRQn) |
| Clear Pending Interrupt. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_SetPriority (IRQn_Type IRQn, uint32_t priority) |
| Set Interrupt Priority. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_GetPriority (IRQn_Type IRQn, uint32_t *p_priority) |
| Get Interrupt Priority. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_SystemReset (void) |
| System Reset. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_critical_region_enter (uint8_t *p_is_nested_critical_region) |
| Enter critical region. More... | |
| __STATIC_INLINE uint32_t | sd_nvic_critical_region_exit (uint8_t is_nested_critical_region) |
| Exit critical region. More... | |
| __STATIC_INLINE uint32_t sd_nvic_ClearPendingIRQ | ( | IRQn_Type | IRQn | ) |
Clear Pending Interrupt.
| [in] | IRQn | See the NVIC_ClearPendingIRQ documentation in CMSIS. |
| NRF_SUCCESS | The interrupt pending flag is cleared. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | IRQn is not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_critical_region_enter | ( | uint8_t * | p_is_nested_critical_region | ) |
Enter critical region.
| [out] | p_is_nested_critical_region | If 1, the application is now in a nested critical region. |
| NRF_SUCCESS |
| __STATIC_INLINE uint32_t sd_nvic_critical_region_exit | ( | uint8_t | is_nested_critical_region | ) |
Exit critical region.
| [in] | is_nested_critical_region | If this is set to 1, the critical region won't be exited. |
| NRF_SUCCESS |
| __STATIC_INLINE uint32_t sd_nvic_DisableIRQ | ( | IRQn_Type | IRQn | ) |
Disable External Interrupt.
| [in] | IRQn | See the NVIC_DisableIRQ documentation in CMSIS. |
| NRF_SUCCESS | The interrupt was disabled. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | The interrupt is not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_EnableIRQ | ( | IRQn_Type | IRQn | ) |
Enable External Interrupt.
| [in] | IRQn | See the NVIC_EnableIRQ documentation in CMSIS. |
| NRF_SUCCESS | The interrupt was enabled. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | The interrupt is not available for the application. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED | The interrupt has a priority not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_GetPendingIRQ | ( | IRQn_Type | IRQn, |
| uint32_t * | p_pending_irq | ||
| ) |
Get Pending Interrupt.
| [in] | IRQn | See the NVIC_GetPendingIRQ documentation in CMSIS. |
| [out] | p_pending_irq | Return value from NVIC_GetPendingIRQ. |
| NRF_SUCCESS | The interrupt is available for the application. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | IRQn is not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_GetPriority | ( | IRQn_Type | IRQn, |
| uint32_t * | p_priority | ||
| ) |
Get Interrupt Priority.
| [in] | IRQn | See the NVIC_GetPriority documentation in CMSIS. |
| [out] | p_priority | Return value from NVIC_GetPriority. |
| NRF_SUCCESS | The interrupt priority is returned in p_priority. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | - IRQn is not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_SetPendingIRQ | ( | IRQn_Type | IRQn | ) |
Set Pending Interrupt.
| [in] | IRQn | See the NVIC_SetPendingIRQ documentation in CMSIS. |
| NRF_SUCCESS | The interrupt is set pending. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | IRQn is not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_SetPriority | ( | IRQn_Type | IRQn, |
| uint32_t | priority | ||
| ) |
Set Interrupt Priority.
| [in] | IRQn | See the NVIC_SetPriority documentation in CMSIS. |
| [in] | priority | A valid IRQ priority for use by the application. |
| NRF_SUCCESS | The interrupt and priority level is available for the application. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_NOT_AVAILABLE | IRQn is not available for the application. |
| NRF_ERROR_SOC_NVIC_INTERRUPT_PRIORITY_NOT_ALLOWED | The interrupt priority is not available for the application. |
| __STATIC_INLINE uint32_t sd_nvic_SystemReset | ( | void | ) |
System Reset.
| NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN |