nrfx_ipc_init

Function nrfx_ipc_init 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nrfx_ipc_init( irq_priority: u8, handler: extern "C" fn(event_idx: u8, ptr: *mut u8), p_context: usize, ) -> NrfxErr
Expand description

@brief Function for initializing the IPC driver.

@param irq_priority Interrupt priority. @param handler Event handler provided by the user. Cannot be NULL. @param p_context Context passed to event handler.

@retval NRFX_SUCCESS Initialization was successful. @retval NRFX_ERROR_INVALID_STATE Driver is already initialized.