adc_lock_try_acquire() function
Try to acquire ADC lock by unit The lock acquiring sequence will be: ADC1, ADC2, ...
Return value
- ESP_OK: On success - ESP_ERR_TIMEOUT: Lock(s) is taken already
Notes
If any of the locks are taken, this API will return immediately with an error `ESP_ERR_TIMEOUT`