mirror of
https://github.com/apache/nuttx.git
synced 2026-10-03 20:27:53 +00:00
Adds a PWM lower-half using the eCAP modules in APWM mode as single-channel generators rather than capture units. start() reprograms the time base only when the frequency changes, so a duty-only update does not stop or zero a live counter. t3-gem-o1 registers /dev/ecap1 and /dev/ecap2; output pad selection is left to the board, as the candidates collide with I2C0. Verified on t3-gem-o1: examples/pwm runs a 1 kHz, 50% duty train on both instances and accepts a duty-only change (25% then 75%). The output pins have not been measured on copper, as no pad is assigned to them on this board. Assisted-by: Claude Code:claude-opus-4-8 Signed-off-by: Ulaş Sertan Kemeç <sertan.usk@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore | ||
| x86/qemu/qemu-i486 | ||
| x86_64/qemu/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||