nrfxlib API 0.1.0
Loading...
Searching...
No Matches
MPSL protocol API for managing fixed DPPI channels

Macros

#define MPSL_DPPI_RADIO_PUBLISH_READY_CHANNEL_IDX   4U
 Fixed channel for NRF_RADIO->PUBLISH_READY.
 
#define MPSL_DPPI_RADIO_PUBLISH_ADDRESS_CHANNEL_IDX   5U
 Fixed channel for NRF_RADIO->PUBLISH_ADDRESS.
 
#define MPSL_DPPI_RADIO_PUBLISH_END_CHANNEL_IDX   6U
 Fixed channel for NRF_RADIO->PUBLISH_END.
 
#define MPSL_DPPI_RADIO_PUBLISH_DISABLED_CH_IDX   7U
 Fixed channel for NRF_RADIO->PUBLISH_DISABLED.
 
#define MPSL_DPPI_RADIO_PUBLISH_PHYEND_CHANNEL_IDX   8U
 Fixed channel for NRF_RADIO->PUBLISH_PHYEND.
 
#define MPSL_DPPI_RADIO_SUBSCRIBE_DISABLED_CHANNEL_IDX   9U
 Fixed channel for NRF_RADIO->SUBSCRIBE_DISABLE. Publishing to this channel will result in undefined behavior.
 

Functions

void mpsl_dppi_fixed_channels_set (void)
 Setup the DPPI channels.
 
void mpsl_dppi_fixed_channels_clear (void)
 Clear the DPPI channels.
 

Detailed Description

API for fixed DPPI channel.

Fixed DPPI channels are DPPI channels where a publisher or subscriber remain attached to the channel for the entire duration of a radio event. This allows the application to add additional subscribers to channels that have a fixed publisher. For example, the application can configure a pin to toggle on every transaction by connecting NRF_GPIOTE->SUBSCRIBE_OUT[i] to MPSL_DPPI_RADIO_PUBLISH_READY_CHANNEL_IDX or NRF_GPIOTE->SUBSCRIBE_OUT[i] to MPSL_DPPI_RADIO_PUBLISH_DISABLED_CH_IDX.