nuttx/arch
Sydeney Araujo 89ddf9e7b9 arch/arm/tiva: Refactor complementary PWM mode configuration
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>
2025-02-28 11:07:19 -03:00
..
arm arch/arm/tiva: Refactor complementary PWM mode configuration 2025-02-28 11:07:19 -03:00
arm64 arch/arm64: fix boot stage prints with CONFIG_ARCH_EARLY_PRINT=y 2025-02-26 20:47:05 +02:00
avr Revert "Use small lock to protect usbdev and endpoint in AVR." 2025-02-13 14:15:43 +08:00
ceva arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
dummy
hc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
mips Revert "Use small lock to protect usbdev and endpoint in arch mips" 2025-02-13 14:15:43 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k nuttx/compiler: fix build warning on GCC14 2025-02-18 09:04:54 -05:00
renesas Revert "Use small lock to protect usbdev and endpoint in arch renesas." 2025-02-13 14:15:43 +08:00
risc-v arch/risc-v/espressif: Add I2C slave support 2025-02-26 16:32:40 +01:00
sim Revert "Use small lock to protect usbdev and endpoint in sim." 2025-02-13 14:15:43 +08:00
sparc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
tricore [nxstyle] fix Relative files path 2025-02-21 15:36:05 +01:00
x86 x86/Toolchain.defs: Add LLVM target definitions 2025-01-27 02:28:29 +08:00
x86_64 Revert "use small lock in following files:" 2025-02-13 14:15:43 +08:00
xtensa arch/xtensa/esp32[s2|s3]: Add I2C slave support 2025-02-26 16:32:40 +01:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/Kconfig: allow FLASH config for non-MMU chips 2025-01-17 16:38:17 +08:00