代码搜索结果
找到约 10,000 项符合
PWM 的代码
upsd3300_pca-pwm.c
/*------------------------------------------------------------------------------
upsd3300_pca-pwm.c
Version:
August 2004 Version 2.0 - Updated include file names, modified comments.
Dependenci
upsd3300_pca-pwm.h
/*------------------------------------------------------------------------------
upsd3300_pca-pwm.c
Version:
August 2004 Version 2.0 - Updated comments.
Dependencies: None.
Description:
Th
c_pwm_asm1.asm
.def _h_divide
.text
_h_divide:
POPD *+; 把函数返回地址从硬件堆栈中弹到@AR0 AR0++
SAR AR0,*+; 把AR0保存到@AR0 然后AR0++
SAR AR1,* ;? 把AR1保存到@AR0 然后AR0
LARK AR0,4 ;?设置新的AR0,AR1; LARK AR0,4
c_pwm_asm1.asm
.def _h_divide
.text
_h_divide:
POPD *+; 把函数返回地址从硬件堆栈中弹到@AR0 AR0++
SAR AR0,*+; 把AR0保存到@AR0 然后AR0++
SAR AR1,* ;? 把AR1保存到@AR0 然后AR0
LARK AR0,4 ;?设置新的AR0,AR1; LARK AR0,4
lh79520_pwm_driver.c
/***********************************************************************
* $Workfile: lh79520_pwm_driver.c $
* $Revision: 1.0 $
* $Author: LiJ $
* $Date: Jul 07 2003 16:40:00 $
*
pwm全频输出好用.txt
#include
#include
#include
#define uint unsigned int
#define uchar unsigned char
sbit P1_0=P1^0;
sbit P1_1=P1^1;
sbit P1_2=P1^2;
unsigned char code th0_30[100]={