代码搜索结果

找到约 10,000 项符合 PWM 的代码

pwm.c

/* *File: Pwm.c *Purpose: Initialize the PWM(Pulse Width Modulation) Module * *Notes: Assume that thers is a LED linked to the output pins */ #define MCF5272_PWM_PWMCR1 (0x0C0) #define M

pwm.c

/////////PCA CEX0为PWM 输出模式////////////// /////////PWM.c////////////////////////// #include typedef unsigned int uint; typedef unsigned char uchar; typedef unsigned long ulong; sfr1

pwm.c

// 该程序利用EVA模块的PWM1--PWM4引脚产生不同占空比的方波调节直流电机的电压 #include "C2407A.h" #include "stdio.h" #define Tc_half 2000 #define KEY1_run 0X0F3D //电动机正向转动(按奇数次),

pwm.c

// 该程序利用EVA模块的PWM1--PWM4引脚产生不同占空比的方波调节直流电机的电压 #include "C2407A.h" #include "stdio.h" #include "math.h" #define run1 0X0F3D //电动机正向转动(按奇数次),正向制动(按偶

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