mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-22 16:57:22 +08:00
5debfdd84d
增加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)