代码搜索结果

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

pwm.h

/* * Handy functions for controlling LPC2106 PWM channels. * Author: Bruce McKenney, BMC Consulting, Selkirk, NY */ #ifndef _PWM_H_ #define _PWM_H_ 1 /* * pwm_init(nticks, tickcycles) *

pwm.c

/* * LPC2106 PWM manipulation. * Author: Bruce McKenney, BMC Consulting, Selkirk, NY */ #include #include "pwm.h" /* * Bit positions in PWM_TCR: */ #define PWM_TCR_COUNTE

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" #define READ_COUNT2 (rTCNTO2 & 0xffff) #define MaxBeepFreq 900 #define MinBeepFreq 100 extern int Uart_GetIntNum(void)