Re: ADC driver and power management API
Michał Kruszewski <mkru@...>
By the way, is ADC API going to be revised soon or is it actual and sufficient?
-------- Original Message --------Subject: Re: [Zephyr-devel] ADC driver and power management APILocal Time: August 17, 2017 8:09 AMUTC Time: August 17, 2017 6:09 AMFrom: tomasz.bursztyka@...To: zephyr-devel@...Hi Piotr,Good point. ADC API was designed some months before PM one, and was not revised once the later came in.Sounds like you can throw a PR to remove these.Thanks,TomaszHi all,
The ADC driver API specifies adc_enable / adc_disable functions. The doxygen documentation of adc_enable function states: "This routine enables the ADC hardware block for data sampling for the specified device".
This seems to be redundant / conflicts with Zephyr's power management subsystem API. Shouldn't the adc_enable / adc_disable functions be removed?
- Piotr
_______________________________________________ Zephyr-devel mailing list Zephyr-devel@... https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel