zephyr/samples
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
..
application_development include: remove unnecessary autoconf.h includes 2022-04-05 11:18:20 +02:00
arch samples: arch: mpu: mpu_test: use DEVICE_DT_GET 2022-03-31 13:55:10 +02:00
basic drivers: pwm: always use nanoseconds for set 2022-04-28 11:29:38 +02:00
bluetooth drivers: pwm: always use nanoseconds for set 2022-04-28 11:29:38 +02:00
boards drivers: pwm: always use nanoseconds for set 2022-04-28 11:29:38 +02:00
compression samples/compression/l4z: Increase min_ram 2022-01-28 10:07:00 +01:00
drivers tests: eeprom: fix integration_platforms 2022-04-08 09:31:01 +02:00
hello_world samples: hello_world: remove redundant header 2022-03-17 17:40:11 -04:00
kernel everywhere: fix typos 2022-03-18 13:24:08 -04:00
modules samples: add module requirement into samples 2022-04-19 09:38:55 -04:00
net net: lwm2m: adds LwM2M v1.1 overlay 2022-04-22 09:44:36 +02:00
philosophers doc: use :kconfig:option: domain role 2022-03-02 09:28:37 +01:00
posix include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
sensor drivers: sensors: Update sam qdec driver to use pinctrl 2022-03-24 15:45:37 -07:00
shields boards: shields: x_nucleo_53l0a1: new shield 2022-04-07 14:30:01 -05:00
subsys samples: cdc_acm_composite: Use proper type for variable 'read' 2022-04-26 12:05:26 -04:00
synchronization samples: synchronization: use k_thread_cpu_pin 2022-04-19 13:05:09 -04:00
tfm_integration samples: psa-firmware: Correct readme instructions 2022-04-08 15:52:01 -07:00
userspace samples, tests: Add z_libc_partition to all test domains 2022-04-28 11:09:01 +09:00
classic.rst
index.rst