zephyr/samples/boards
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
..
96b_argonkey doc: Fix spelling errors in .rst files 2022-04-19 11:48:26 +02:00
arc_secure_services everywhere: fix typos 2022-03-18 13:24:08 -04:00
bbc_microbit drivers: pwm: always use nanoseconds for set 2022-04-28 11:29:38 +02:00
esp32 tests: Change duplicated names of the test cases 2022-03-30 17:42:01 -04:00
google_kukui
intel_s1000_crb
mec15xxevb_assy6853 everywhere: fix typos 2022-03-18 13:24:08 -04:00
nrf dts: nrf5340: Use dual compatible property for mbox nodes 2022-04-02 15:14:38 +02:00
qemu_cortex_a53/reserved_memory include: remove unnecessary autoconf.h includes 2022-04-05 11:18:20 +02:00
reel_board/mesh_badge samples: boards: reel_board: mesh_badge: use DEVICE_DT_GET 2022-03-31 13:55:10 +02:00
sensortile_box
stm32 everywhere: fix typos 2022-03-18 13:24:08 -04:00
ti/cc13x2_cc26x2/system_off
up_squared/gpio_counter
boards.rst