Layer providing compatibility with the former API. More...
Modules | |
SWI(EGU) peripheral driver - legacy layer configuration | |
Macros | |
#define | NRF_SWI_UNALLOCATED NRFX_SWI_UNALLOCATED |
Macro for forwarding the new implementation. | |
#define | SWI_DEFAULT_PRIORITY NRFX_SWI_DEFAULT_PRIORITY |
Macro for forwarding the new implementation. | |
#define | nrf_swi_t nrfx_swi_t |
Macro for forwarding the new implementation. | |
#define | nrf_swi_flags_t nrfx_swi_flags_t |
Macro for forwarding the new implementation. | |
#define | nrf_swi_handler_t nrfx_swi_handler_t |
Macro for forwarding the new implementation. | |
#define | nrf_drv_swi_alloc nrfx_swi_alloc |
Macro for forwarding the new implementation. | |
#define | nrf_drv_swi_free nrfx_swi_free |
Macro for forwarding the new implementation. | |
#define | nrf_drv_swi_trigger nrfx_swi_trigger |
Macro for forwarding the new implementation. | |
#define | nrf_drv_swi_task_trigger_address_get nrfx_swi_task_trigger_address_get |
Macro for forwarding the new implementation. | |
#define | nrf_drv_swi_event_triggered_address_get nrfx_swi_event_triggered_address_get |
Macro for forwarding the new implementation. | |
Functions | |
ret_code_t | nrf_drv_swi_init (void) |
Function for initializing the SWI module. More... | |
ret_code_t | nrf_drv_swi_uninit (void) |
Function for uninitializing the SWI module. More... | |
Layer providing compatibility with the former API.
ret_code_t nrf_drv_swi_init | ( | void | ) |
Function for initializing the SWI module.
NRF_SUCCESS | If the module was successfully initialized. |
NRF_ERROR_MODULE_ALREADY_INITIALIZED | If the module has already been initialized. |
ret_code_t nrf_drv_swi_uninit | ( | void | ) |
Function for uninitializing the SWI module.
This function also frees all SWIs.
NRF_SUCCESS | If the module was successfully uninitialized. |
NRF_ERROR_INVALID_STATE | If the module has not been initialized yet. |