mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-25 09:07:23 +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)
17 lines
331 B
C
17 lines
331 B
C
/*
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-09-24 qiyu first version
|
|
*/
|
|
|
|
#ifndef DRIVERS_DRV_CONFIG_H_
|
|
#define DRIVERS_DRV_CONFIG_H_
|
|
|
|
#include "config/pwm_config.h"
|
|
|
|
#endif /* DRIVERS_DRV_CONFIG_H_ */
|