nrfx 3.3
Macros | Functions
VPR CSR VEVIF HAL

Hardware access layer for managing the VPR RISC-V CPU Control and Status Registers for VPR Event Interface (VPR CSR VEVIF). More...

Macros

#define NRF_VPR_CSR_VEVIF_EVENT_TASK_COUNT   VPR_VEVIF_EVENT_MaxCount
 Number of VEVIF events/tasks.
 

Functions

NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_tasks_get (void)
 Function for getting mask of pending VEVIF tasks.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_tasks_clear (uint32_t mask)
 Function for clearing mask of pending VEVIF tasks.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_tasks_set (uint32_t value)
 Function for setting pending VEVIF tasks.
 
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_events_get (void)
 Function for getting mask of triggered VEVIF events.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_events_set (uint32_t value)
 Function for setting triggered VEVIF events.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_events_trigger (uint32_t mask)
 Function for triggering VEVIF events.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_events_buffered_set (uint32_t value)
 Function for setting buffered triggered VEVIF events.
 
NRF_STATIC_INLINE bool nrf_vpr_csr_vevif_events_buffered_dirty_check (void)
 Function for retrieving the dirty status of buffered VEVIF events.
 
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_subscribe_get (void)
 Function for getting the subscribe configuration for VEVIF.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_subscribe_set (uint32_t value)
 Function for setting the subscribe configuration for VEVIF.
 
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_publish_get (void)
 Function for getting the publish configuration for VEVIF.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_publish_set (uint32_t value)
 Function for setting the publish configuration for VEVIF.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_int_enable (uint32_t mask)
 Function for enabling the specified interrupts.
 
NRF_STATIC_INLINE void nrf_vpr_csr_vevif_int_disable (uint32_t mask)
 Function for disabling the specified interrupts.
 
NRF_STATIC_INLINE uint32_t nrf_vpr_csr_vevif_int_enable_check (uint32_t mask)
 Function for checking it the specified interrupts are enabled.
 

Detailed Description

Hardware access layer for managing the VPR RISC-V CPU Control and Status Registers for VPR Event Interface (VPR CSR VEVIF).

Function Documentation

◆ 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
trueBuffer is dirty.
falseBuffer 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]valueBuffered 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]valueVEVIF 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]maskMask 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]maskMask 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]maskMask 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]maskMask 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]valueVEVIF 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]valueVEVIF 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]maskMask 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]valueVEVIF tasks value to be set.

Documentation feedback | Developer Zone | Subscribe | Updated