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> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||