Hardware access layer with cache and barrier support for managing the VPR peripheral.
More...
|
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) |
|
Hardware access layer with cache and barrier support for managing the VPR peripheral.
◆ 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_reg | Pointer to the structure of registers of the peripheral. |
- Return values
-
true | CPU is to be running after core reset. |
false | CPU 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | enable | True 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | signal | Signal to be retrieved. |
- Return values
-
true | Signal is logical 1. |
false | Signal 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | signal | Signal to be set. |
[in] | enable | True 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Specified 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event to be checked. |
- Return values
-
true | The event has been generated. |
false | The 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event 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_reg | Pointer 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | pc | Initial 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Specified 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_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Task 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
-
- 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
-
- Returns
- The specified VPR TRIGGERED event.