summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries/HAL_Drivers/config/mp1
AgeCommit message (Collapse)Author
2023-01-08format stm32 driversMeco Man
2022-10-30删除对pwm_config的判断,并初始化channel 为RT_NULLlinshire
2022-10-28Revert "提交stm32 bsp drv_pwm.c里面的一个小建议 (#6517)"linshire
This reverts commit a4eb5a5399068bc3e2a7548de26d1e54b203f828.
2022-10-28提交stm32 bsp drv_pwm.c里面的一个小建议 (#6517)100ask-Alen
在使用stm32的pwm驱动时,发现其初始化channel的时候是根据device->channel这个值去初始化的,device->channel这个值是在pwm_configh.h里面定义设置的,又根据rtt的pwm例程,和常规习惯,应该大多数人会更喜欢设置channel=1/2/3/4,而不是在pwm_configh.h中将channel设置为TIM_CHANNEL_1/2/3/4,因此建议drv_pwm.c做出PR中的修改。 在实际开发中,因pwm_configh.h的示例均是.channel=0,又没有做出解释说明要让.channel=TIM_CHANNEL_1/2/3/4的值,容易误操作导致没有成功输出PWM,这是我在实际开发中遇到的现实问题,因而提出此建议。
2021-04-23[add] spi config increases irq_typewanghaijing
2021-03-08[stm32][driver] auto formattedMeco Man
2021-01-20[update] uart dma sample.thread-liu
2020-12-05Merge branch 'master' of https://github.com/RT-Thread/rt-thread into step4-ev1thread-liu
# Conflicts: # bsp/stm32/libraries/STM32MPxx_HAL/SConscript
2020-12-05[add] rs485 driverthread-liu
2020-12-05[add] qspi_flash driver.thread-liu
2020-11-26[add] crc, rng, hash and cryp driver for smt32mp1.thread-liu
2020-06-23[update] clear codethread-liu
2020-06-23[update] add drivers for stm32mp1.thread-liu
2020-06-20[update] stm32mp1 linkthread-liu
2020-06-20[add] stm32mp1 driversthread-liu