代码搜索结果
找到约 10,000 项符合
PWM 的代码
timermode6_pwm.c
// timermode6_pwm.c
// Christian Kulig, 10/29/02
//
// This sample creates a PWM signal on port P0.7 using a standard timer.
// It sets up the mode 6 (PWM mode) and varies the duty cycle.
#in
timermode6_pwm.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 }
timer1_pwm.hex
:020000020000FC
:1000000009C01895189515C015C015C018951895F4
:1000100018951895F8940FED0DBF00240DBC0CBC7D
:1000200001E00EBD01E80FBD08EC09BF7894FFCFD9
:08003000189518951895189514
:00000001FF
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_drv.asm.txt
;===============================================================
; Filename : pwm_drv.asm
; Module Name : FC_PWM_DRV
; Initialization Routine: FC_PWM_DRV_INIT
; Description : This module uses the
pwm_register_file.v
/***************************************************************************/
/* Copyright