mirror of
https://github.com/apache/nuttx.git
synced 2026-09-29 10:34:23 +00:00
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> |
||
|---|---|---|
| .. | ||
| arch_alarm.c | ||
| arch_rtc.c | ||
| arch_timer.c | ||
| capture.c | ||
| CMakeLists.txt | ||
| cs2100-cp.c | ||
| ds3231.c | ||
| ds3231.h | ||
| dshot.c | ||
| fake_capture.c | ||
| goldfish_timer.c | ||
| Kconfig | ||
| Make.defs | ||
| mcp794xx.c | ||
| mcp794xx.h | ||
| oneshot.c | ||
| pcf85263.c | ||
| pcf85263.h | ||
| pl031.c | ||
| ptp_clock.c | ||
| ptp_clock_dummy.c | ||
| pulsecount.c | ||
| pwm.c | ||
| rpmsg_rtc.c | ||
| rtc.c | ||
| rx8010.c | ||
| rx8010.h | ||
| timer.c | ||
| timer_wdog.c | ||
| watchdog.c | ||