Hi,
Referring to this thread -
If the saadc sampling is trigger by a timer (through ppi), what is the correct way to saadc_uninit() without using the global m_sampling semaphore (as in the post above)?
Thanks
Hi,
Referring to this thread -
If the saadc sampling is trigger by a timer (through ppi), what is the correct way to saadc_uninit() without using the global m_sampling semaphore (as in the post above)?
Thanks
You can call saadc_uninit() whenever you like, but you should assume that you will lose any ongoing samples, and the callback will not be called. The semaphore is used to uninit the driver once it has finished a sample or filled the entire sample buffer.