DPPI HALY
- group nrfy_dppi
Hardware access layer with cache and barrier support for managing the DPPI peripheral.
Functions
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_set(NRF_DPPIC_Type *p_reg, uint32_t mask, bool enable)
Function for enabling or disabling multiple DPPI channels.
The bits in
mask
value correspond to particular channels. It means that writing 1 to bit 0 enables or disables channel 0, writing 1 to bit 1 enables or disables channel 1 etc.- Parameters:
p_reg – [in] Pointer to the structure of registers of the peripheral.
mask – [in] Channel mask.
enable – [in] True if specified channels are to be enabled, false otherwise.
-
NRF_STATIC_INLINE uint8_t nrfy_dppi_channel_number_get(NRF_DPPIC_Type const *p_reg)
@refhal{nrf_dppi_channel_number_get}
-
NRF_STATIC_INLINE uint8_t nrfy_dppi_group_number_get(NRF_DPPIC_Type const *p_reg)
@refhal{nrf_dppi_group_number_get}
-
NRFY_STATIC_INLINE void nrfy_dppi_task_trigger(NRF_DPPIC_Type *p_reg, nrf_dppi_task_t dppi_task)
@refhal{nrf_dppi_task_trigger}
-
NRFY_STATIC_INLINE uint32_t nrfy_dppi_task_address_get(NRF_DPPIC_Type const *p_reg, nrf_dppi_task_t task)
@refhal{nrf_dppi_task_address_get}
-
NRFY_STATIC_INLINE bool nrfy_dppi_channel_check(NRF_DPPIC_Type const *p_reg, uint8_t channel)
@refhal{nrf_dppi_channel_check}
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_enable(NRF_DPPIC_Type *p_reg, uint32_t mask)
@refhal{nrf_dppi_channels_enable}
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_disable(NRF_DPPIC_Type *p_reg, uint32_t mask)
@refhal{nrf_dppi_channels_disable}
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_disable_all(NRF_DPPIC_Type *p_reg)
@refhal{nrf_dppi_channels_disable_all}
-
NRFY_STATIC_INLINE void nrfy_dppi_subscribe_set(NRF_DPPIC_Type *p_reg, nrf_dppi_task_t task, uint8_t channel)
@refhal{nrf_dppi_subscribe_set}
-
NRFY_STATIC_INLINE void nrfy_dppi_subscribe_clear(NRF_DPPIC_Type *p_reg, nrf_dppi_task_t task)
@refhal{nrf_dppi_subscribe_clear}
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_include_in_group(NRF_DPPIC_Type *p_reg, uint32_t channel_mask, nrf_dppi_channel_group_t channel_group)
@refhal{nrf_dppi_channels_include_in_group}
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_remove_from_group(NRF_DPPIC_Type *p_reg, uint32_t channel_mask, nrf_dppi_channel_group_t channel_group)
@refhal{nrf_dppi_channels_remove_from_group}
-
NRFY_STATIC_INLINE void nrfy_dppi_group_clear(NRF_DPPIC_Type *p_reg, nrf_dppi_channel_group_t group)
@refhal{nrf_dppi_group_clear}
-
NRFY_STATIC_INLINE void nrfy_dppi_group_enable(NRF_DPPIC_Type *p_reg, nrf_dppi_channel_group_t group)
@refhal{nrf_dppi_group_enable}
-
NRFY_STATIC_INLINE void nrfy_dppi_group_disable(NRF_DPPIC_Type *p_reg, nrf_dppi_channel_group_t group)
@refhal{nrf_dppi_group_disable}
-
NRFY_STATIC_INLINE nrf_dppi_task_t nrfy_dppi_group_enable_task_get(uint8_t index)
@refhal{nrf_dppi_group_enable_task_get}
-
NRFY_STATIC_INLINE nrf_dppi_task_t nrfy_dppi_group_disable_task_get(uint8_t index)
@refhal{nrf_dppi_group_disable_task_get}
-
NRFY_STATIC_INLINE void nrfy_dppi_channels_set(NRF_DPPIC_Type *p_reg, uint32_t mask, bool enable)