nuttx/drivers
raiden00pl f1e7b143d9 !drivers: separate pulse count feature from PWM driver
BREAKING CHANGE: separate pulse count feature from PWM driver.

Coupling PWM driver with pulse count feature was bad decision from the beginning,
these are two different things:

- PWM is a modulation scheme: it continuously represents a value by varying duty
cycle, usually at a fixed frequency.
- Pulse train generation is a finite waveform transaction: generate N edges/pulses
with selected timing, then complete.

This change introduce a new pulse count driver with new API.
Now user can generate pulse train by providing:

- high pulse length in ns
- low pulse length in ns
- pulse count

All architectures supporting pulse count have been adapted in subsequent commits.
Users must migrate their code to use the new driver with new API.

Signed-off-by: raiden00pl <raiden00@railab.me>
2026-05-25 14:33:11 +02:00
..
1wire
aie
analog
audio
bch
can
clk
contactless
coresight
crypto
devicetree
dma
dummy
eeprom
efuse
i2c
i2s
i3c
input
ioexpander
ipcc
lcd
leds
loop
math
misc
mmcsd
modem
motor
mtd
net
note
pci
pinctrl
pipes
power
rc
regmap
reset
rf
rpmsg
rptun
segger
sensors
serial
spi
syslog
thermal
timers !drivers: separate pulse count feature from PWM driver 2026-05-25 14:33:11 +02:00
usbdev
usbhost
usbmisc
usbmonitor
usrsock
vhost
video
virtio
wireless
.gitignore
CMakeLists.txt
drivers_initialize.c
Kconfig
Makefile