How does ppi group work?
With PPI group you can enable and disable more PPI channels at the same time, with NRF_PPI->TASKS_CHG[n].EN = 1;
or NRF_PPI->TASKS_CHG[n].DIS = 1;
. This can come in handy if you don’t want to be interrupted while enabling/disabling PPI channels or just enabling/disabling channels without CPU intervention (using PPI to trigger PPI group enable/disable). PPI groups are for example used in the PWM driver to ensure that the PWM is not inverted when going to 0 or 100 %.
With PPI group you can enable and disable more PPI channels at the same time, with NRF_PPI->TASKS_CHG[n].EN = 1;
or NRF_PPI->TASKS_CHG[n].DIS = 1;
. This can come in handy if you don’t want to be interrupted while enabling/disabling PPI channels or just enabling/disabling channels without CPU intervention (using PPI to trigger PPI group enable/disable). PPI groups are for example used in the PWM driver to ensure that the PWM is not inverted when going to 0 or 100 %.