mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
This commit improves the configuration of complementary PWM mode for Tiva C-Series microcontrollers by moving the complementary flag definition directly into each channel structure. Changes made: - Renamed 'complementary_generation' to 'complementary' for clarity. - Moved complementary mode configuration into the static PWM channel structures. - Replaced runtime conditional checks with compile-time configuration using '#ifdef CONFIG_TIVA_PWM_COMPLEMENTARY_Gx'. - Improved readability and maintainability of the PWM driver. These modifications ensure a more efficient initialization process, reduce runtime conditionals, and align better with NuttX coding practices. Signed-off-by: Sydeney Araujo <sydney.wagner39@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||