@@ -1647,16 +1647,16 @@ static void radio_ppi_clear(void)
16471647
16481648static void radio_ppi_configure (bool rx , uint32_t timer_short_mask )
16491649{
1650- nrfx_gppi_ep_attach (dtm_inst . ppi_radio_start ,
1651- nrf_egu_event_address_get ( DTM_EGU , DTM_EGU_EVENT ) );
1652- nrfx_gppi_ep_attach (dtm_inst . ppi_radio_start ,
1653- nrf_radio_task_address_get ( NRF_RADIO ,
1654- rx ? NRF_RADIO_TASK_RXEN : NRF_RADIO_TASK_TXEN ) );
1650+ nrfx_gppi_ep_attach (nrf_egu_event_address_get ( DTM_EGU , DTM_EGU_EVENT ) ,
1651+ dtm_inst . ppi_radio_start );
1652+ nrfx_gppi_ep_attach (nrf_radio_task_address_get ( NRF_RADIO ,
1653+ rx ? NRF_RADIO_TASK_RXEN : NRF_RADIO_TASK_TXEN ) ,
1654+ dtm_inst . ppi_radio_start );
16551655 atomic_set_bit (& dtm_inst .endpoint_state ,
16561656 (rx ? ENDPOINT_EGU_RADIO_RX : ENDPOINT_EGU_RADIO_TX ));
16571657
1658- nrfx_gppi_ep_attach (dtm_inst .ppi_radio_start ,
1659- nrf_timer_task_address_get ( dtm_inst .timer . p_reg , NRF_TIMER_TASK_START ) );
1658+ nrfx_gppi_ep_attach (nrf_timer_task_address_get ( dtm_inst .timer . p_reg , NRF_TIMER_TASK_START ) ,
1659+ dtm_inst .ppi_radio_start );
16601660 atomic_set_bit (& dtm_inst .endpoint_state , ENDPOINT_FORK_EGU_TIMER );
16611661
16621662 nrfx_gppi_conn_enable (dtm_inst .ppi_radio_start );
@@ -1672,10 +1672,11 @@ static void radio_tx_ppi_reconfigure(void)
16721672
16731673 endpoints_clear ();
16741674
1675- nrfx_gppi_ep_attach (dtm_inst .ppi_radio_start ,
1676- nrf_timer_event_address_get (dtm_inst .timer .p_reg , NRF_TIMER_EVENT_COMPARE0 ));
1677- nrfx_gppi_ep_attach (dtm_inst .ppi_radio_start ,
1678- nrf_radio_task_address_get (NRF_RADIO , NRF_RADIO_TASK_TXEN ));
1675+ nrfx_gppi_ep_attach (nrf_timer_event_address_get (dtm_inst .timer .p_reg ,
1676+ NRF_TIMER_EVENT_COMPARE0 ),
1677+ dtm_inst .ppi_radio_start );
1678+ nrfx_gppi_ep_attach (nrf_radio_task_address_get (NRF_RADIO , NRF_RADIO_TASK_TXEN ),
1679+ dtm_inst .ppi_radio_start );
16791680 atomic_set_bit (& dtm_inst .endpoint_state , ENDPOINT_TIMER_RADIO_TX );
16801681 nrfx_gppi_conn_enable (dtm_inst .ppi_radio_start );
16811682}
0 commit comments