VPR Event Interface (VEVIF) mechanism driver.
More...
|
| int | nrfx_vevif_init (uint8_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.
|
| |
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
-
| 0 | Driver successfully initialized. |
| -EALREADY | The driver is already initialized. |
◆ 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. |