nrfx 3.3
Modules | Typedefs | Functions
VEVIF driver

VPR Event Interface (VEVIF) mechanism driver. More...

Modules

 Generic inter-domain signalling layer.
 Helper layer that provides the common functionality for the inter-domain signalling (IDS) mechanisms.
 

Typedefs

typedef void(* nrfx_vevif_event_handler_t) (uint8_t event_idx, void *p_context)
 VEVIF event handler callback.
 

Functions

nrfx_err_t nrfx_vevif_init (nrf_vpr_clic_priority_t interrupt_priority, nrfx_vevif_event_handler_t event_handler, void *p_context)
 Function for initializing the VEVIF driver.
 
void nrfx_vevif_uninit (void)
 Function for uninitializing the VEVIF driver.
 
bool nrfx_vevif_init_check (void)
 Function for checking if the VEVIF driver is initialized.
 
void nrfx_vevif_int_enable (uint32_t mask)
 Function for enabling interrupts on specified VEVIF events.
 
void nrfx_vevif_int_disable (uint32_t mask)
 Function for disabling interrupts on specified VEVIF events.
 

Detailed Description

VPR Event Interface (VEVIF) mechanism driver.

Typedef Documentation

◆ nrfx_vevif_event_handler_t

typedef void(* nrfx_vevif_event_handler_t) (uint8_t event_idx, void *p_context)

VEVIF event handler callback.

Parameters
[in]event_idxVEVIF event index.
[in]p_contextContext passed to the event handler. Set on initialization.

Function Documentation

◆ nrfx_vevif_init()

nrfx_err_t nrfx_vevif_init ( nrf_vpr_clic_priority_t  interrupt_priority,
nrfx_vevif_event_handler_t  event_handler,
void *  p_context 
)

Function for initializing the VEVIF driver.

Parameters
[in]interrupt_priorityInterrupt priority.
[in]event_handlerFunction to be called on interrupt. Must not be NULL.
[in]p_contextContext passed to the event handler.
Return values
NRFX_SUCCESSDriver successfully initialized.
NRFX_ERROR_ALREADYThe driver is already initialized.
NRFX_ERROR_INVALID_STATEThe driver is already initialized. Deprecated - use NRFX_ERROR_ALREADY instead.

◆ nrfx_vevif_init_check()

bool nrfx_vevif_init_check ( void  )

Function for checking if the VEVIF driver is initialized.

Return values
trueDriver is already initialized.
falseDriver is not initialized.

◆ nrfx_vevif_int_disable()

void nrfx_vevif_int_disable ( uint32_t  mask)

Function for disabling interrupts on specified VEVIF events.

Parameters
[in]maskMask of interrupts to be disabled.

◆ nrfx_vevif_int_enable()

void nrfx_vevif_int_enable ( uint32_t  mask)

Function for enabling interrupts on specified VEVIF events.

Parameters
[in]maskMask of interrupts to be enabled.

Documentation feedback | Developer Zone | Subscribe | Updated