Hardware access layer for managing the VPR RISC-V CPU Control and Status Registers for VPR Event Interface (VPR CSR VEVIF).
More...
|
#define | NRF_VPR_CSR_VEVIF_EVENT_TASK_COUNT VPR_VEVIF_EVENT_MaxCount |
| Number of VEVIF events/tasks.
|
|
Hardware access layer for managing the VPR RISC-V CPU Control and Status Registers for VPR Event Interface (VPR CSR VEVIF).
◆ nrf_vpr_csr_vevif_events_buffered_dirty_check()
NRF_STATIC_INLINE bool nrf_vpr_csr_vevif_events_buffered_dirty_check |
( |
void |
| ) |
|
Function for retrieving the dirty status of buffered VEVIF events.
- Return values
-
true | Buffer is dirty. |
false | Buffer is clean. |
◆ nrf_vpr_csr_vevif_events_buffered_set()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_events_buffered_set |
( |
uint32_t |
value | ) |
|
Function for setting buffered triggered VEVIF events.
- Parameters
-
[in] | value | Buffered VEVIF events value to be set. |
◆ nrf_vpr_csr_vevif_events_get()
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_events_get |
( |
void |
| ) |
|
Function for getting mask of triggered VEVIF events.
- Returns
- Mask of triggered VEVIF events.
◆ nrf_vpr_csr_vevif_events_set()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_events_set |
( |
uint32_t |
value | ) |
|
Function for setting triggered VEVIF events.
- Parameters
-
[in] | value | VEVIF events value to be set. |
◆ nrf_vpr_csr_vevif_events_trigger()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_events_trigger |
( |
uint32_t |
mask | ) |
|
Function for triggering VEVIF events.
- Parameters
-
[in] | mask | Mask of VEVIF events to be triggered. |
◆ nrf_vpr_csr_vevif_int_disable()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_int_disable |
( |
uint32_t |
mask | ) |
|
Function for disabling the specified interrupts.
- Parameters
-
[in] | mask | Mask of interrupts to be disabled. |
◆ nrf_vpr_csr_vevif_int_enable()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_int_enable |
( |
uint32_t |
mask | ) |
|
Function for enabling the specified interrupts.
- Parameters
-
[in] | mask | Mask of interrupts to be enabled. |
◆ nrf_vpr_csr_vevif_int_enable_check()
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_int_enable_check |
( |
uint32_t |
mask | ) |
|
Function for checking it the specified interrupts are enabled.
- Parameters
-
[in] | mask | Mask of interrupts to be checked. |
- Returns
- Mask of enabled interrupts.
◆ nrf_vpr_csr_vevif_publish_get()
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_publish_get |
( |
void |
| ) |
|
Function for getting the publish configuration for VEVIF.
- Returns
- Mask of events with enabled publication.
◆ nrf_vpr_csr_vevif_publish_set()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_publish_set |
( |
uint32_t |
value | ) |
|
Function for setting the publish configuration for VEVIF.
- Parameters
-
[in] | value | VEVIF publication configuration mask to be set. |
◆ nrf_vpr_csr_vevif_subscribe_get()
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_subscribe_get |
( |
void |
| ) |
|
Function for getting the subscribe configuration for VEVIF.
- Returns
- Mask of tasks with enabled subscription.
◆ nrf_vpr_csr_vevif_subscribe_set()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_subscribe_set |
( |
uint32_t |
value | ) |
|
Function for setting the subscribe configuration for VEVIF.
- Parameters
-
[in] | value | VEVIF subscription configuration mask to be set. |
◆ nrf_vpr_csr_vevif_tasks_clear()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_tasks_clear |
( |
uint32_t |
mask | ) |
|
Function for clearing mask of pending VEVIF tasks.
- Parameters
-
[in] | mask | Mask of VEVIF tasks to be cleared. |
◆ nrf_vpr_csr_vevif_tasks_get()
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_tasks_get |
( |
void |
| ) |
|
Function for getting mask of pending VEVIF tasks.
- Returns
- Mask of pending VEVIF tasks.
◆ nrf_vpr_csr_vevif_tasks_set()
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_tasks_set |
( |
uint32_t |
value | ) |
|
Function for setting pending VEVIF tasks.
- Parameters
-
[in] | value | VEVIF tasks value to be set. |