Commit Graph

33 Commits

Author SHA1 Message Date
liYangYang d25bf469fa
[rt_drv_pwm]完善PWM框架互补输出部分代码 (#6338)
* [pwm]Improve the code

* 将与bsp无关的代码移植到框架部分

* 添加注释
2022-09-01 00:59:44 -04:00
Meco Man 74a802b445 [stm32] 合并获取定时器时钟频率公共部分
防止后续维护出现没有全面修改的问题
2022-07-04 16:23:21 +08:00
BreederBai b2bc0dcd16
[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 (#6130)
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-07-04 10:40:42 +08:00
BreederBai 78faea4b8d
[bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期 (#6129)
* [bsp/stm32]优化功能(drv_pwm):设置PWM频率和脉宽时不破坏上一个PWM周期
2022-07-04 10:26:33 +08:00
Man, Jianting (Meco) 7b47e8d052
[stm32f401-nucleo] arduino support (#5842)
* [stm32f401-nucleo] arduino support
* 增加application arduino main文件
* 调整目录结构
2022-04-20 09:09:58 +08:00
zuozuojia 04971a96fe [bsp/stm32] fix the bug of uart that not define pwm10 and pwm11 2022-04-11 15:02:12 +08:00
Man, Jianting (Meco) 81e5fa061f
[stm32f072 nucleo] support pwm for arduino (#5693) 2022-03-21 22:04:37 +08:00
YJIE_1998 b98f631580 【添加】stm32f3xx 库文件 2021-07-30 11:38:25 +08:00
Meco Man fc04d828ee [stm32][driver] auto formatted 2021-03-08 22:40:39 +08:00
Bernard Xiong 21ebf93e20
Merge pull request #4270 from greedyhao/stm32-pwm-fix
[bsp][stm32] fix PWMN_CMD_DISABLE config
2021-02-08 09:53:01 +08:00
greedyhao c339386c07 [bsp][stm32] fix PWMN_CMD_DISABLE config 2021-01-27 15:03:55 +08:00
thread-liu 552c55681e [PWM] Fix the timer clock frequency doubling problem. 2021-01-23 11:54:23 +08:00
Bernard Xiong 7ed63ef52b
Merge pull request #4250 from Trisuborn/master
为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令等
2021-01-21 11:58:52 +08:00
Trisuborn 68e5c6f511 Logical error 2021-01-21 06:37:42 +08:00
Trisuborn 55402e19db 优化互补PWM输出功能的实现逻辑,兼容原本API,增加互补PWM使能/失能命令 2021-01-20 23:47:18 +08:00
Trisuborn 63239801d9 修改无意义代码 2021-01-20 11:24:00 +08:00
Trisuborn aed3cc162f 为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令 2021-01-19 17:14:32 +08:00
Zhaoxing Li bda4b68a80 [bsp][stm32] Add HAL_TIM_Base_Init 2021-01-19 14:02:31 +08:00
thread-liu 2fcd940b57 [update] add drivers for stm32mp1. 2020-06-23 11:26:11 +08:00
xieyangrun d2a857e13a [STM32/drv_pwm.c]fixed PWM timer init. 2020-01-15 13:45:30 +08:00
z14git d3f8b9b9c1 修复pwm初始化时,相应的时钟没有使能的问题 2019-10-27 17:16:06 +08:00
a1012112796 60bda424eb [bsp][stm32] 更新stm32f427-robomaster-a外设驱动配置
1.增加串口1,7,8配置,经实机测试无误
2.增加PWM4 CH1 -- 4, PWM12(BUZZER)配置,因条件有限,仅测试了TIM12 CH1
3.经测试,CAN通信无法正常使用,原因尚未找出,故暂时删去此配置
测试所用编译器: mdk5, IAR
2019-09-10 19:17:38 +08:00
Wu Han 2e90a7e5b2 [stm32][driver] switch HAL_TIM_PWM_Init with HAL_TIM_Base_Init for new CubeMX 2019-08-15 13:38:44 +08:00
Wu Han 6a1e12f178 [stm32][driver] pwm enable clock 2019-08-15 11:21:14 +08:00
MurphyZhao e3a0773520 [bsp][stm32] fix drv_pwm.c device register usefault
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-08-07 14:30:15 +08:00
misonyo aae6274ef1 [bsp/stm32]add stm32f2xx template 2019-06-18 18:26:49 +08:00
yangjie11 e0345397f8
Update drv_pwm.c 2019-04-23 19:36:28 +08:00
yangjie e92a4263b4 [bsp][stm32/libraries]support PWM1 2019-04-23 19:17:21 +08:00
guozhanxin 8a9e1caebe [bsp][stm32]更新pwm驱动 2019-03-08 10:58:45 +08:00
guanwenliang 7b53218720 完善STM32G071的BSP 2019-02-15 10:43:09 +08:00
SummerGift 4d6d16fc98 [bsp][stm32] update drivers 2018-12-26 18:16:26 +08:00
SummerGift c6be644157 [bsp][stm32] update stm32 mul-series drivers 2018-12-26 10:43:46 +08:00
SummerGift 71751eb6f1 [bsp][stm32] add sdio, hw_timer and pwm drivers 2018-12-17 10:38:38 +08:00