Skip to content
Commit c2208e21 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Marti Bolivar
Browse files

dt: pwm: add period set helpers



The period cell in the PWM specifier needs to be provided in nanoseconds.
However, in some applications it is more convenient to use another scale
such as milliseconds. This patch introduces 3 helpers to allow using
seconds, milliseconds and microseconds scales.

Signed-off-by: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent 5878f556
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment