代码搜索结果
找到约 10,000 项符合
PWM 的代码
pwm_timer_b.h
#ifndef __PWM_TIMER_B
#define __PWM_TIMER_B
void TimerBInit();
void SetScale(unsigned int sc);
void SetFre(unsigned int fre);
unsigned char GoPwm(unsigned char doit);
#endif
pwm_timer_b.c
/*******************************************************************************
文件名:pwm_timer_b.c
编写者:czhang
描述:使用定时器B进行PWM输出。输出的频率和占空比由串行口发送来的指令确定。
版本: 1.0 2005-2-20
***************************
pwm_test1.lst
C51 COMPILER V7.01 PWM_TEST1 01/17/2006 21:51:00 PAGE 1
C51 COMPILER V7.01, COMPILATION OF MODULE PWM_TEST1
OBJECT MODULE PLACED
pwm_test1.plg
礦ision2 Build Log
Project:
D:\feixiang\MCU\PWM测试\PWM_Test1.uv2
Project File Date: 01/11/2006
Output:
pwm_test1.hex
:10042A002F6E5468652054657374206F6620746853
:10043A00652050574D2053686F773A2F6E005468E5
:10044A00652050574D204F555450555420697320FC
:04045A003A2F6E00C7
:1003ED00758922759850D299438780E4F58B758D68
pwm_test1.lnp
"PWM_Test1.obj"
TO "PWM_Test1"
RAMSIZE(256)
CODE( 0X0000-0XFFFF )
pwm_test1.c
#include
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
/*--------------------------parameter setting-----------------
pwm_test1.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.a*; *.src)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt)
pExt (*.plm)
CppX (*.cpp)
DaveTm { 0,0,0,0,0,0,0,0 }
double_pwm_inverter.mdl
Model {
Name "double_pwm_inverter"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
Sh