nrfx 3.3
Functions
BELLBOARD HALY

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

Functions

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)
 

Detailed Description

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

Function Documentation

◆ 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_regPointer to the structure of registers of the peripheral.
[in]eventSpecified 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_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_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_regPointer to the structure of registers of the peripheral.
[in]eventEvent 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_regPointer to the structure of registers of the peripheral.
[in]maskMask 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_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be disabled.
[in]maskMask 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_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be enabled.
[in]maskMask 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_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex of interrupt group to be checked.
[in]maskMask 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_regPointer to the structure of registers of the peripheral.
[in]maskMask of interrupts to be initialized.
[in]irq_priorityInterrupt priority.
[in]enableTrue if the interrupts are to be enabled, false otherwise.
[in]group_idxIndex 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_regPointer to the structure of registers of the peripheral.
[in]group_idxIndex 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_idxIndex 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_regPointer to the structure of registers of the peripheral.
[in]taskSpecified 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_regPointer to the structure of registers of the peripheral.
[in]taskTask to be triggered.

Documentation feedback | Developer Zone | Subscribe | Updated