mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-14 15:05:23 +00:00
This prepares support pwm capture APIs by extended current pwm shim driver but use a differrence hal component: - Introduce a Kconfig options that will be set when PWM pulse generation API is used, it is also used to select the hal component. Guarding current code inside this Kconfig option - Increase #pwm-cells to 3, flags is supported for PWM capture - Do not require duty-cycle and polarity be set in dt, PWM capture doesn't need it. - Rename emum value for pwm-mode to keep only key information - Add preprocessor in case no channel is configured for generate PWM output, to avoid warning when build Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
arm64 | ||
common | ||
mips | ||
nios2 | ||
posix | ||
riscv | ||
shields | ||
sparc | ||
x86 | ||
xtensa | ||
CMakeLists.txt | ||
deprecated.cmake | ||
index.rst | ||
Kconfig |