Re: [Feedback needed] Proposal for ADC API

2022-07-21 Thread Duc Doan
Hello Sebastian, On Tue, 2022-07-19 at 14:00 +0200, Sebastian Huber wrote: > Hello, > > we should also consider to use existing APIs and implementations for > stuff we do not yet have in RTEMS, for example: > > https://docs.zephyrproject.org/latest/hardware/peripherals/adc.html > > The Zephyr

Re: [Feedback needed] Proposal for ADC API

2022-07-19 Thread Sebastian Huber
Hello, we should also consider to use existing APIs and implementations for stuff we do not yet have in RTEMS, for example: https://docs.zephyrproject.org/latest/hardware/peripherals/adc.html The Zephyr project uses device trees to statically configure device drivers:

[Feedback needed] Proposal for ADC API

2022-07-19 Thread Duc Doan
Hello, I would like to propose an ADC API that aims to create an interface for reading analog value conveniently with blocking/non-blocking styles and support custom transfer function for each pin. The API depends on the new GPIO API.  Here are some features of the ADC API: -