summaryrefslogtreecommitdiff
path: root/components/drivers/misc/rt_drv_pwm.c
AgeCommit message (Collapse)Author
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2022-09-25[TMS320F28379] implement PWM driver (#6457)YuQi
增加c28x芯片的pwm驱动 已经在TMS320F28379中通过测试 pwm设备框架增加如下方法: #define PWM_CMD_SET_DEAD_TIME (RT_DEVICE_CTRL_BASE(PWM) + 8) #define PWM_CMD_SET_PHASE (RT_DEVICE_CTRL_BASE(PWM) + 9) #define PWM_CMD_ENABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 10) #define PWM_CMD_DISABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 11)
2022-09-01[rt_drv_pwm]完善PWM框架互补输出部分代码 (#6338)liYangYang
* [pwm]Improve the code * 将与bsp无关的代码移植到框架部分 * 添加注释
2022-07-26修复了pwm互补输出的一些bug,并在finsh中添加使用说明 (#6191)liYang~
* Fix the bug of complementary output
2022-07-04[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 (#6130)BreederBai
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-06-22[rtdevices] eliminate recursionMeco Man
2022-05-25[adc][pwm] correct the command descriptionMeco Man
2022-05-19[rt_drv_pwm.c] add finsh pwm function (#5944)Stanley Lwin
* add finsh pwm function
2022-04-22[pwm] 优化pwm框架 (#5857)Man, Jianting (Meco)
2022-04-06[device]Detailed classification of devices types (#5769)Tangyuxin
2022-01-09[core] 使用rt_memcpy rt_memset代替memcpy memsetMeco Man
2021-10-12解决无法dist问题 (#5150)Lim-LinYuanbo
* first commit, keil test pass * feat : n32g452xx direct structure base at32 1. 重新整理目录结构 * feat : 基于AT32,将各驱动移植整改待验证 1. 部分驱动已经整改,但未验证 2. 根据AT32整改目录结构 * feat : add README document 1. 完善配置文件 2. 添加说明文档 * feat : 验证添加的驱动 1. UART 1-3 验证通过 2. ADC 1-2 CH 6-9 验证通过 3. TIM 6-7 验证通过 * feat : complete readme document * feat : format code 1. ref https://github.com/mysterywolf/formatting * feat : 完成PWM驱动移植与自测 1. 添加PWM测试代码 2. 修正PWM驱动周期与脉冲错误问题 * feat : 删除多余代码与多余的文件,修正注释与函数命名 * feat : fix tim channel comment * feat : 完成DEMO测试例子 1. 完成MAIN函数中的LED测试例子 2. 完善README文档 3. 更新添加许可文件 * feat : 根据BSP提交自查完善固件 1. 添加.ignore_format.yml文件 2. 修正main.c的注释 * feat : add last line in .ignore_format.yml * feat : delet file_path in .ignore_format.yml * fix: gPIO/ADC driver 1. add ADC temperature&vref channel. 2.add GPIO IPD/OD configration * fix: 解决告警 1. 解决告警(rt_drv_pwm.c: warning: implicit declaration of function 'atoi') * feat: add scons --dist function * fix: 解决MDK5无法编译问题 * perf: delete invalid code Co-authored-by: linyuanbo_breo_server <[email protected]>
2021-08-23Remove C Style Command Shell马志远
2021-03-08[compoenets] auto & manual formattedMeco Man
2021-01-20优化互补PWM输出功能的实现逻辑,兼容原本API,增加互补P ↵Trisuborn
WM使能/失能命令
2021-01-19为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支� ↵Trisuborn
��,补全pwm_get命令
2019-11-11components: drivers: misc: pwm: Missing "pwm1" here.Steven Liu
2018-11-24[DeviceDriver] update RT_USING_DEVICE_OPS.aozima
1. fixed audio_pipe.c compile error. 2. update pwm driver: support RT_USING_DEVICE_OPS.
2018-10-14[license] Change license to Apache.Bernard Xiong
2018-09-26[components][drivers][pwm] Add rt_pwm_disable function and API Interfaceguozhanxin
2018-06-08[DeviceDrivers] rename _pwm.c to rt_drv_pwm.caozima