Hardware access layer with cache and barrier support for managing the BELLBOARD peripheral.
More...
|
NRFY_STATIC_INLINE void | nrfy_bellboard_int_init (NRF_BELLBOARD_Type *p_reg, uint32_t mask, uint8_t irq_priority, bool enable, uint8_t group_idx) |
| Function for initializing the specified BELLBOARD interupts.
|
|
NRFY_STATIC_INLINE void | nrfy_bellboard_int_uninit (uint8_t group_idx) |
| Function for uninitializing the specified BELLBOARD interrupts.
|
|
NRFY_STATIC_INLINE uint32_t | nrfy_bellboard_events_process (NRF_BELLBOARD_Type *p_reg, uint32_t mask) |
| Function for processing the specified BELLBOARD events.
|
|
NRFY_STATIC_INLINE void | nrfy_bellboard_task_trigger (NRF_BELLBOARD_Type *p_reg, nrf_bellboard_task_t task) |
|
NRFY_STATIC_INLINE uint32_t | nrfy_bellboard_task_address_get (NRF_BELLBOARD_Type const *p_reg, nrf_bellboard_task_t task) |
|
NRFY_STATIC_INLINE void | nrfy_bellboard_event_clear (NRF_BELLBOARD_Type *p_reg, nrf_bellboard_event_t event) |
|
NRFY_STATIC_INLINE bool | nrfy_bellboard_event_check (NRF_BELLBOARD_Type const *p_reg, nrf_bellboard_event_t event) |
|
NRFY_STATIC_INLINE uint32_t | nrfy_bellboard_event_address_get (NRF_BELLBOARD_Type const *p_reg, nrf_bellboard_event_t event) |
|
NRFY_STATIC_INLINE void | nrfy_bellboard_int_enable (NRF_BELLBOARD_Type *p_reg, uint8_t group_idx, uint32_t mask) |
|
NRFY_STATIC_INLINE void | nrfy_bellboard_int_disable (NRF_BELLBOARD_Type *p_reg, uint8_t group_idx, uint32_t mask) |
|
NRFY_STATIC_INLINE uint32_t | nrfy_bellboard_int_enable_check (NRF_BELLBOARD_Type const *p_reg, uint8_t group_idx, uint32_t mask) |
|
NRFY_STATIC_INLINE uint32_t | nrfy_bellboard_int_pending_get (NRF_BELLBOARD_Type const *p_reg, uint8_t group_idx) |
|
Hardware access layer with cache and barrier support for managing the BELLBOARD peripheral.
◆ nrfy_bellboard_event_address_get()
NRFY_STATIC_INLINE uint32_t nrfy_bellboard_event_address_get |
( |
NRF_BELLBOARD_Type const * |
p_reg, |
|
|
nrf_bellboard_event_t |
event |
|
) |
| |
- See also
- nrf_bellboard_event_address_get Function for getting the address of the specified BELLBOARD 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_bellboard_event_check()
NRFY_STATIC_INLINE bool nrfy_bellboard_event_check |
( |
NRF_BELLBOARD_Type const * |
p_reg, |
|
|
nrf_bellboard_event_t |
event |
|
) |
| |
- See also
- nrf_bellboard_event_check Function for retrieving the state of the BELLBOARD 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_bellboard_event_clear()
NRFY_STATIC_INLINE void nrfy_bellboard_event_clear |
( |
NRF_BELLBOARD_Type * |
p_reg, |
|
|
nrf_bellboard_event_t |
event |
|
) |
| |
- See also
- nrf_bellboard_event_clear Function for clearing the specified BELLBOARD event.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | event | Event to clear. |
◆ nrfy_bellboard_events_process()
NRFY_STATIC_INLINE uint32_t nrfy_bellboard_events_process |
( |
NRF_BELLBOARD_Type * |
p_reg, |
|
|
uint32_t |
mask |
|
) |
| |
Function for processing the specified BELLBOARD events.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask of events to be processed, created by NRFY_EVENT_TO_INT_BITMASK. |
- Returns
- Mask of events that were generated and processed. To be checked against the result of NRFY_EVENT_TO_INT_BITMASK().
◆ nrfy_bellboard_int_disable()
NRFY_STATIC_INLINE void nrfy_bellboard_int_disable |
( |
NRF_BELLBOARD_Type * |
p_reg, |
|
|
uint8_t |
group_idx, |
|
|
uint32_t |
mask |
|
) |
| |
- See also
- nrf_bellboard_int_disable Function for disabling specified interrupts.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be disabled. |
[in] | mask | Mask of interrupts to be disabled. Use nrf_bellboard_int_mask_t values for bit masking. |
◆ nrfy_bellboard_int_enable()
NRFY_STATIC_INLINE void nrfy_bellboard_int_enable |
( |
NRF_BELLBOARD_Type * |
p_reg, |
|
|
uint8_t |
group_idx, |
|
|
uint32_t |
mask |
|
) |
| |
- See also
- nrf_bellboard_int_enable Function for enabling specified interrupts.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be enabled. |
[in] | mask | Mask of interrupts to be enabled. Use nrf_bellboard_int_mask_t values for bit masking. |
◆ nrfy_bellboard_int_enable_check()
NRFY_STATIC_INLINE uint32_t nrfy_bellboard_int_enable_check |
( |
NRF_BELLBOARD_Type const * |
p_reg, |
|
|
uint8_t |
group_idx, |
|
|
uint32_t |
mask |
|
) |
| |
- See also
- nrf_bellboard_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] | group_idx | Index of interrupt group to be checked. |
[in] | mask | Mask of interrupts to be checked. Use nrf_bellboard_int_mask_t values for bit masking. |
- Returns
- Mask of enabled interrupts.
◆ nrfy_bellboard_int_init()
NRFY_STATIC_INLINE void nrfy_bellboard_int_init |
( |
NRF_BELLBOARD_Type * |
p_reg, |
|
|
uint32_t |
mask, |
|
|
uint8_t |
irq_priority, |
|
|
bool |
enable, |
|
|
uint8_t |
group_idx |
|
) |
| |
Function for initializing the specified BELLBOARD interupts.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | mask | Mask of interrupts to be initialized. |
[in] | irq_priority | Interrupt priority. |
[in] | enable | True if the interrupts are to be enabled, false otherwise. |
[in] | group_idx | Index of interrupts group to be enabled. |
◆ nrfy_bellboard_int_pending_get()
NRFY_STATIC_INLINE uint32_t nrfy_bellboard_int_pending_get |
( |
NRF_BELLBOARD_Type const * |
p_reg, |
|
|
uint8_t |
group_idx |
|
) |
| |
- See also
- nrf_bellboard_int_pending_get Function for retrieving the state of pending interrupts.
States of pending interrupt are saved as a bitmask. One set at particular position means that interrupt for event is pending.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | group_idx | Index of interrupt group to be retrieved. |
- Returns
- Bitmask with information about pending interrupts. Use nrf_bellboard_int_mask_t values for bit masking.
◆ nrfy_bellboard_int_uninit()
NRFY_STATIC_INLINE void nrfy_bellboard_int_uninit |
( |
uint8_t |
group_idx | ) |
|
Function for uninitializing the specified BELLBOARD interrupts.
- Parameters
-
[in] | group_idx | Index for interrupt group to be uninitialized. |
◆ nrfy_bellboard_task_address_get()
NRFY_STATIC_INLINE uint32_t nrfy_bellboard_task_address_get |
( |
NRF_BELLBOARD_Type const * |
p_reg, |
|
|
nrf_bellboard_task_t |
task |
|
) |
| |
- See also
- nrf_bellboard_task_address_get Function for getting the address of the specified BELLBOARD 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_bellboard_task_trigger()
NRFY_STATIC_INLINE void nrfy_bellboard_task_trigger |
( |
NRF_BELLBOARD_Type * |
p_reg, |
|
|
nrf_bellboard_task_t |
task |
|
) |
| |
- See also
- nrf_bellboard_task_trigger Function for triggering the specified BELLBOARD task.
- Parameters
-
[in] | p_reg | Pointer to the structure of registers of the peripheral. |
[in] | task | Task to be triggered. |