Re: Missing PWM Timer implementations in Zephyr 1.4


Tseng, Kuo-Lang <kuo-lang.tseng@...>
 

-----Original Message-----
From: Andre Guedes [mailto:andre.guedes(a)intel.com]
As of now we need timer implementation only. We don’t have any PWM use
cases So its relevant for our use case if following is implemented

"creating a new API include/timers.h or something like that, to expose peripheral
timers, and thus implementing relevant drivers etc..."

Maybe we don't need a new API, the existing include/counter.h might be enough.

You would need to write a counter_qmsi_pwm.c driver (see
driver/counter/) which configures the PWM controller to work in timer mode and
implements the counter.h API.
Make sense to me.

Kuo

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