nrfx 3.3
Functions
VPR HALY

Hardware access layer with cache and barrier support for managing the VPR peripheral. More...

Functions

NRFY_STATIC_INLINE void nrfy_vpr_task_trigger (NRF_VPR_Type *p_reg, nrf_vpr_task_t task)
 
NRFY_STATIC_INLINE uint32_t nrfy_vpr_task_address_get (NRF_VPR_Type const *p_reg, nrf_vpr_task_t task)
 
NRFY_STATIC_INLINE nrf_vpr_task_t nrfy_vpr_trigger_task_get (uint8_t index)
 
NRFY_STATIC_INLINE void nrfy_vpr_event_clear (NRF_VPR_Type *p_reg, nrf_vpr_event_t event)
 
NRFY_STATIC_INLINE bool nrfy_vpr_event_check (NRF_VPR_Type const *p_reg, nrf_vpr_event_t event)
 
NRFY_STATIC_INLINE uint32_t nrfy_vpr_event_address_get (NRF_VPR_Type const *p_reg, nrf_vpr_event_t event)
 
NRFY_STATIC_INLINE nrf_vpr_event_t nrfy_vpr_triggered_event_get (uint8_t index)
 
NRFY_STATIC_INLINE void nrfy_vpr_int_enable (NRF_VPR_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_vpr_int_disable (NRF_VPR_Type *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE uint32_t nrfy_vpr_int_enable_check (NRF_VPR_Type const *p_reg, uint32_t mask)
 
NRFY_STATIC_INLINE void nrfy_vpr_cpurun_set (NRF_VPR_Type *p_reg, bool enable)
 
NRFY_STATIC_INLINE bool nrfy_vpr_cpurun_get (NRF_VPR_Type const *p_reg)
 
NRFY_STATIC_INLINE void nrfy_vpr_initpc_set (NRF_VPR_Type *p_reg, uint32_t pc)
 
NRFY_STATIC_INLINE uint32_t nrfy_vpr_initpc_get (NRF_VPR_Type const *p_reg)
 
NRFY_STATIC_INLINE void nrfy_vpr_debugif_dmcontrol_set (NRF_VPR_Type *p_reg, nrf_vpr_dmcontrol_t signal, bool enable)
 
NRFY_STATIC_INLINE bool nrfy_vpr_debugif_dmcontrol_get (NRF_VPR_Type const *p_reg, nrf_vpr_dmcontrol_t signal)
 

Detailed Description

Hardware access layer with cache and barrier support for managing the VPR peripheral.

Function Documentation

◆ nrfy_vpr_cpurun_get()

NRFY_STATIC_INLINE bool nrfy_vpr_cpurun_get ( NRF_VPR_Type const *  p_reg)
See also
nrf_vpr_cpurun_get Function for getting the state of the CPU after core reset.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Return values
trueCPU is to be running after core reset.
falseCPU is to be stopped after core reset.

◆ nrfy_vpr_cpurun_set()

NRFY_STATIC_INLINE void nrfy_vpr_cpurun_set ( NRF_VPR_Type *  p_reg,
bool  enable 
)
See also
nrf_vpr_cpurun_set Function for setting the state of the CPU after core reset.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]enableTrue if CPU is to be running, false if stopped.

◆ nrfy_vpr_debugif_dmcontrol_get()

NRFY_STATIC_INLINE bool nrfy_vpr_debugif_dmcontrol_get ( NRF_VPR_Type const *  p_reg,
nrf_vpr_dmcontrol_t  signal 
)
See also
nrf_vpr_debugif_dmcontrol_get Function for getting the debug mode control signals.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]signalSignal to be retrieved.
Return values
trueSignal is logical 1.
falseSignal is logical 0.

◆ nrfy_vpr_debugif_dmcontrol_set()

NRFY_STATIC_INLINE void nrfy_vpr_debugif_dmcontrol_set ( NRF_VPR_Type *  p_reg,
nrf_vpr_dmcontrol_t  signal,
bool  enable 
)
See also
nrf_vpr_debugif_dmcontrol_set Function for setting the debug mode control signals.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]signalSignal to be set.
[in]enableTrue if signal is to be 1, false if 0.

◆ nrfy_vpr_event_address_get()

NRFY_STATIC_INLINE uint32_t nrfy_vpr_event_address_get ( NRF_VPR_Type const *  p_reg,
nrf_vpr_event_t  event 
)
See also
nrf_vpr_event_address_get Function for getting the address of the specified VPR event register.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventSpecified event.
Returns
Address of the specified event register.

◆ nrfy_vpr_event_check()

NRFY_STATIC_INLINE bool nrfy_vpr_event_check ( NRF_VPR_Type const *  p_reg,
nrf_vpr_event_t  event 
)
See also
nrf_vpr_event_check Function for retrieving the state of the VPR event.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to be checked.
Return values
trueThe event has been generated.
falseThe event has not been generated.

◆ nrfy_vpr_event_clear()

NRFY_STATIC_INLINE void nrfy_vpr_event_clear ( NRF_VPR_Type *  p_reg,
nrf_vpr_event_t  event 
)
See also
nrf_vpr_event_clear Function for clearing the specified VPR event.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]eventEvent to clear.

◆ nrfy_vpr_initpc_get()

NRFY_STATIC_INLINE uint32_t nrfy_vpr_initpc_get ( NRF_VPR_Type const *  p_reg)
See also
nrf_vpr_initpc_get Function for getting the initial value of the program counter after CPU reset.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
Returns
Initial value of the program counter.

◆ nrfy_vpr_initpc_set()

NRFY_STATIC_INLINE void nrfy_vpr_initpc_set ( NRF_VPR_Type *  p_reg,
uint32_t  pc 
)
See also
nrf_vpr_initpc_set Function for setting the initial value of the program counter after CPU reset.
Note
This address value must be 64-bit aligned.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]pcInitial value of the program counter to be set.

◆ nrfy_vpr_int_disable()

NRFY_STATIC_INLINE void nrfy_vpr_int_disable ( NRF_VPR_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_vpr_int_disable Function for disabling specified interrupts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be disabled. Use nrf_vpr_int_mask_t values for bit masking.

◆ nrfy_vpr_int_enable()

NRFY_STATIC_INLINE void nrfy_vpr_int_enable ( NRF_VPR_Type *  p_reg,
uint32_t  mask 
)
See also
nrf_vpr_int_enable Function for enabling specified interrupts.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be enabled. Use nrf_vpr_int_mask_t values for bit masking.

◆ nrfy_vpr_int_enable_check()

NRFY_STATIC_INLINE uint32_t nrfy_vpr_int_enable_check ( NRF_VPR_Type const *  p_reg,
uint32_t  mask 
)
See also
nrf_vpr_int_enable_check Function for checking if the specified interrupts are enabled.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be checked. Use nrf_vpr_int_mask_t values for bit masking.
Returns
Mask of enabled interrupts.

◆ nrfy_vpr_task_address_get()

NRFY_STATIC_INLINE uint32_t nrfy_vpr_task_address_get ( NRF_VPR_Type const *  p_reg,
nrf_vpr_task_t  task 
)
See also
nrf_vpr_task_address_get Function for getting the address of the specified VPR task register.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskSpecified task.
Returns
Address of the specified task register.

◆ nrfy_vpr_task_trigger()

NRFY_STATIC_INLINE void nrfy_vpr_task_trigger ( NRF_VPR_Type *  p_reg,
nrf_vpr_task_t  task 
)
See also
nrf_vpr_task_trigger Function for triggering the specified VPR task.
Parameters
[in]p_regPointer to the structure of registers of the peripheral.
[in]taskTask to be triggered.

◆ nrfy_vpr_trigger_task_get()

NRFY_STATIC_INLINE nrf_vpr_task_t nrfy_vpr_trigger_task_get ( uint8_t  index)
See also
nrf_vpr_trigger_task_get Function for getting the specified VPR TRIGGER task.
Parameters
[in]indexTask index.
Returns
The specified VPR TRIGGER task.

◆ nrfy_vpr_triggered_event_get()

NRFY_STATIC_INLINE nrf_vpr_event_t nrfy_vpr_triggered_event_get ( uint8_t  index)
See also
nrf_vpr_triggered_event_get Function for getting the specified VPR TRIGGERED event.
Parameters
[in]indexEvent index.
Returns
The specified VPR TRIGGERED event.

Documentation feedback | Developer Zone | Subscribe | Updated