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?

Michał Kruszewski


Sent with ProtonMail Secure Email.

-------- Original Message --------
Subject: Re: [Zephyr-devel] ADC driver and power management API
Local Time: August 17, 2017 8:09 AM
UTC Time: August 17, 2017 6:09 AM
From: 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,

Tomasz

Hi 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



Join {devel@lists.zephyrproject.org to automatically receive all group messages.