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.



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

Join { to automatically receive all group messages.