mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-24 21:17:31 +08:00
1f69929b0b
This patch adds support for PWM generation using CTIMER on MCXN devices. Each CTIMER provides 4 PWM channels, channels sharing the same CTIMER instance will have the same period settings, and the duty cycle will be maintained if period is changed through one of the four channels. The period channel is automatically assigned and will be transferred to one of the other available channels if that channel is used for PWM generation, no glitches should be expected during the transition. The patch also provides a sample PWM output configuration connected to the on-board green LED which can be enabled through Kconfig. Signed-off-by: Yilin Sun <imi415@imi.moe>
RT-THREAD bsp company list
- Simulator
- STM32
- stm32 series
- NXP
- Renesas
- renesas series
- rx series
- upd70f3454
- m16c62p
- Nordic
- nrf5x series
- raspberry
- raspberry-pi series
- raspberry-pico
- TI
- Samsung
- Synopsys
- synopsys series
- Espressif
- MAXIM
- maxim series
- Microchip
- Infineon
- SiFive
- ADI
- Silicon Labs
- efm32 series
- Ambiq Micro
- Xilinx
- Altera
- Nuclei
- 灵动微MM32
- 兆易创新GD32
- gd32 series
- Realtek
- 国民科技N32
- 小华HC32
- 全志Allwinner
- allwinner series
- allwinner_tina
- 雅特力AT32
- at32 series
- rockchip
- rockchip serise
- 先楫
- hpmicro series
- 东软EastSoft
- essemi series
- 嘉楠canaan
- 沁恒WCH
- wch series
- 联德盛winnermicro
- 泰为
- Nuvoton
- nuvoton series
- 飞腾
- 合宙
- airm2m series
- ACM32 航芯
- acm32 series
- APM32 极海
- apm32 series
- 紫芯
- 博流
- bouffalo_lab series
- 航顺
- hk32 series
- 辉芒微
- ft32 series
- 华芯微特
- synwit series
- 龙芯
- loongson series
- 中科蓝讯
- bluetrum series
- 易兆微
- yichip series
- 杭州万高科技
- Vango series
- 平头哥
- 复旦微
- 无锡纳瓦特Navota
- 杭州中天微
- 中国航天科技集团
- 东南芯
- 京微雅格
- 好钜润 TIKY