Hello,
Would it be possible to use nrf_pwr_mgmt_run() to implement a polled wait function? The nrf_delay functions execute a busy wait which is only feasible for very short periods. Is there an issue calling this as a general function?
Example delay for condition;
do { nrf_pwr_mgmt_run(); } while (! condition_met);
The documentation says that this should be called from main(). I don't see why it couldn't be used in a more general manor.
Thanks