VPR Event Interface (VEVIF) mechanism driver.
More...
VPR Event Interface (VEVIF) mechanism driver.
◆ 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_idx | VEVIF event index. |
[in] | p_context | Context passed to the event handler. Set on initialization. |
◆ nrfx_vevif_init()
Function for initializing the VEVIF driver.
- Parameters
-
[in] | interrupt_priority | Interrupt priority. |
[in] | event_handler | Function to be called on interrupt. Must not be NULL. |
[in] | p_context | Context passed to the event handler. |
- Return values
-
NRFX_SUCCESS | Driver successfully initialized. |
NRFX_ERROR_ALREADY | The driver is already initialized. |
NRFX_ERROR_INVALID_STATE | The 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
-
true | Driver is already initialized. |
false | Driver 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] | mask | Mask 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] | mask | Mask of interrupts to be enabled. |