This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Stopping and Starting SAADC

What is the right way of stopping and then subsequently re-starting SAADC?

Using the saadc example, I want to be able to stop saadc when a certain pin is grounded or when a certain characteristic is received using BLE. I can see that there is an saadc_sampling_event_enable() function in the example which basically calls the nrf_drv_ppi_channel_enable() function. Is calling the equivalent ppi_disable function the right way to do this?

Related