代码搜索结果
找到约 10,000 项符合
PWM 的代码
pwm.h
/****************************************Copyright (c)**************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
pwm.h
/****************************************Copyright (c)**************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
pwm.c
#include
#include "altera_avalon_pwm_regs.h"
#include "system.h"
int main()
{
int rx_char;
char line[100];
printf("Nios II PWM Lab\n");
printf("\nPlease enter an LED
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 50000
#define MinBeepFreq 20
exte