代码搜索结果
找到约 10,000 项符合
PWM 的代码
pwm.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectName="pwm"
ProjectDir="D:\DSP28x\PWM\"
ProjectType=Executable
CPUFamily=TMS320C28XX
Tool
pwm.c
#include
#define uchar unsigned char
sbit P10=P1^0; /*PWM脉冲输出*/
sbit P11=P1^1; /*正反转方向控制,Pll=l正转,Pll=O反转*/
sfr CLKSEL = 0x97;
uchar zdzt=0x0C; /*定义转动状态
pwm.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="G:\zlch\PWM\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Compiler"
Tool="Li
pwm.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
pwm.h
#ifndef __Pwm_H__
#define __Pwm_H__
void Test_Pwm(void);
#endif /*__PWM_H__*/
pwm.c
#include
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\timer.h"
#define READ_COUNT2 (rTCNTO2 & 0xffff)
#define MaxBeepFreq 20000
#define MinBeepFreq 20
exte