![]() |
nrfxlib API 3.3.99
|
| void nrf_802154_trx_ppi_for_ramp_up_set | ( | nrf_radio_task_t | ramp_up_task, |
| nrf_802154_trx_ramp_up_trigger_mode_t | trigg_mode, | ||
| bool | start_timer ) |
Set PPIs to connect trigger event with tasks needed to ramp up.
When trigg_mode is TRX_RAMP_UP_SW_TRIGGER, the trigger event is EGU_TRIGGER_TASK on DPPI platforms and RADIO_DISABLED on PPI platforms. When trigg_mode is TRX_RAMP_UP_HW_TRIGGER, the trigger event is defined outside the module and PPI connections are only partially created. To complete the connection creation, the trigger event must be connected to the (D)PPI channel specified with nrf_802154_trx_ppi_for_ramp_up_channel_id_get.
Connections created by this function in DPPI variant and TRX_RAMP_UP_SW_TRIGGER mode:
EGU_TRIGGER_EVT--+
|
RADIO_DISABLED --+-> EGU -----> ramp_up_task
| \--> self disable
if (start_timer)
\-------------> TIMER_START
Connections created by this function in DPPI variant and TRX_RAMP_UP_HW_TRIGGER mode:
[DPPI] -----------------------> EGU_TRIGGER_TASK
EGU_TRIGGER_EVT--+
|
RADIO_DISABLED --+-> EGU -----> ramp_up_task
| \--> self disable
if (start_timer)
\--------------> TIMER_START
Connections created by this function in PPI variant and TRX_RAMP_UP_SW_TRIGGER mode:
RADIO_DISABLED ----> EGU -----> ramp_up_task
\--> self disable
EGU ---> if (start_timer) ----> TIMER_START
Connections created by this function in PPI variant and TRX_RAMP_UP_HW_TRIGGER mode:
[PPI] --------> EGU ----------> ramp_up_task
\--> self disable
EGU ---> if (start_timer) ----> TIMER_START
| [in] | ramp_up_task | Task triggered to start ramp up procedure. |
| [in] | trigg_mode | Trigger mode the connections must conform to. |
| [in] | start_timer | If timer is to be started on RADIO DISABLED event. |