![]() |
S212 SoftDevice
v2.0.0
|
| Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Functions | |
| static uint32_t | sd_nvic_EnableIRQ (IRQn_Type IRQn) |
| Enable External Interrupt. More... | |
| static uint32_t | sd_nvic_DisableIRQ (IRQn_Type IRQn) |
| Disable External Interrupt. More... | |
| static uint32_t | sd_nvic_GetPendingIRQ (IRQn_Type IRQn, uint32_t *p_pending_irq) |
| Get Pending Interrupt. More... | |
| static uint32_t | sd_nvic_SetPendingIRQ (IRQn_Type IRQn) |
| Set Pending Interrupt. More... | |
| static uint32_t | sd_nvic_ClearPendingIRQ (IRQn_Type IRQn) |
| Clear Pending Interrupt. More... | |
| static uint32_t | sd_nvic_SetPriority (IRQn_Type IRQn, uint32_t priority) |
| Set Interrupt Priority. More... | |
| static uint32_t | sd_nvic_GetPriority (IRQn_Type IRQn, uint32_t *p_priority) |
| Get Interrupt Priority. More... | |
| static uint32_t | sd_nvic_SystemReset (void) |
| System Reset. More... | |
| static uint32_t | sd_nvic_critical_region_enter (uint8_t *p_is_nested_critical_region) |
| Enters critical region. More... | |
| static uint32_t | sd_nvic_critical_region_exit (uint8_t is_nested_critical_region) |
| Exit critical region. More... | |
|
inlinestatic |
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. |
|
inlinestatic |
Enters critical region.
| [out] | p_is_nested_critical_region | If 1, the application is now in a nested critical region. |
| NRF_SUCCESS |
|
inlinestatic |
Exit critical region.
| [in] | is_nested_critical_region | If this is set to 1, the critical region won't be exited. |
| NRF_SUCCESS |
|
inlinestatic |
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. |
|
inlinestatic |
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. |
|
inlinestatic |
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. |
|
inlinestatic |
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. |
|
inlinestatic |
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. |
|
inlinestatic |
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. |
|
inlinestatic |
System Reset.
| NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN |