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: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| adc | ||
| clock | ||
| dac | ||
| display | ||
| espi | ||
| ethernet | ||
| gpio | ||
| i2c | ||
| interrupt-controller | ||
| ipc_service | ||
| led | ||
| lora | ||
| memory-controller | ||
| pcie | ||
| pinctrl | ||
| pm | ||
| pwm | ||
| rdc | ||
| regulator | ||
| sensor | ||
| spi | ||
| timer | ||
| usb | ||
| dt-util.h | ||