diff options
| author | ricky <[email protected]> | 2025-06-28 10:55:51 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-28 10:55:51 +0800 |
| commit | 3e4f0ec015d6ad8e8c1f43b01b33efe2f6e12b68 (patch) | |
| tree | a0f9082b63b010dfde3fa91d3cf6aa20beb7a844 /documentation | |
| parent | d62f1e46b893bd2d2e7ada9a7542b1db334d06f5 (diff) | |
bsp:<bsp/gd32/arm/libraries/gd32_drivers/drv_pwm.c>[Support for non-complementary PWM output with advanced timers] (#10426)
bsp:<bsp/gd32/arm/libraries/gd32_drivers/drv_pwm.c>
[Support for non-complementary PWM output with advanced timers]
1.当前结构体 TIMER_PORT_CHANNEL_MAP_Srt_int16_t 的成员channel为u16
为增加对非互补输出的支持 将uint16_t 改为int16_t
/* timer channel: -2 is ch_1n, -1 is ch_0n, 0 is ch0, 1 is ch1 */
2.对函数 channel_output_config 以及 drv_pwm_enable 进行修改,增加对非互补输出的支持
Signed-off-by: Yucai Liu <[email protected]>
Diffstat (limited to 'documentation')
0 files changed, 0 insertions, 0 deletions
