zephyr/drivers/led
Gerard Marull-Paretas ae91933c4a drivers: pwm: always use nanoseconds for set
In order to be consistent with what is possible in Devicetree, always
take a period in nanoseconds. Other scales or units may be specified by
using, e.g., the PWM_MSEC() macros (all of them converting down to
nanoseconds). This change then deletes the "_nsec" and "_usec" versions
of the pwm_set call.

Note that this change limits the period to UINT32_MAX nanoseconds,
~4.3s. PWM is, in generali, used with periods below the second so it
should not be a problem.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-04-28 11:29:38 +02:00
..
CMakeLists.txt drivers: led: build as static library 2021-08-17 06:06:03 -04:00
Kconfig
Kconfig.gpio
Kconfig.ht16k33 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.lp503x
Kconfig.lp3943
Kconfig.lp5562
Kconfig.pca9633
Kconfig.pwm
Kconfig.tlc59108
ht16k33.c
led_context.h
led_gpio.c
led_handlers.c
led_pwm.c drivers: pwm: always use nanoseconds for set 2022-04-28 11:29:38 +02:00
led_shell.c drivers: led: Fix warnings in shell_print 2021-10-28 10:38:01 -04:00
lp503x.c drivers: led: lp503x: constify device config 2022-02-21 22:16:10 -05:00
lp3943.c drivers: led: lp3943: use i2c_dt_spec 2022-02-21 22:16:10 -05:00
lp5562.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
pca9633.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
tlc59108.c everywhere: fix typos 2022-03-14 20:22:24 -04:00