4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-26 14:57:23 +08:00
YuQi 5debfdd84d
[TMS320F28379] implement PWM driver (#6457)
增加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-25 22:41:00 -04:00

65 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>rt-thread</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.ti.ccstudio.core.ccsNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
<linkedResources>
<link>
<name>DeviceDrivers</name>
<type>2</type>
<locationURI>virtual:/virtual</locationURI>
</link>
<link>
<name>Kernel</name>
<type>2</type>
<locationURI>PARENT-2-PROJECT_LOC/src</locationURI>
</link>
<link>
<name>c28x</name>
<type>2</type>
<locationURI>PARENT-2-PROJECT_LOC/libcpu/ti-dsp/c28x</locationURI>
</link>
<link>
<name>finsh</name>
<type>2</type>
<locationURI>PARENT-2-PROJECT_LOC/components/finsh</locationURI>
</link>
<link>
<name>DeviceDrivers/ipc</name>
<type>2</type>
<locationURI>PARENT-2-PROJECT_LOC/components/drivers/ipc</locationURI>
</link>
<link>
<name>DeviceDrivers/rt_drv_pwm.c</name>
<type>1</type>
<locationURI>PARENT-2-PROJECT_LOC/components/drivers/misc/rt_drv_pwm.c</locationURI>
</link>
<link>
<name>DeviceDrivers/serial.c</name>
<type>1</type>
<locationURI>PARENT-2-PROJECT_LOC/components/drivers/serial/serial.c</locationURI>
</link>
</linkedResources>
</projectDescription>