代码搜索结果
找到约 10,000 项符合
PWM 的代码
pwm.c
/*****************************************/
/* Copyright (c) 2005, 通信工程学院 */
/* All rights reserved. */
/* 作 者:戴 佳 */
/****************************************
pwm.h
/*****************************************************************************
* pwm.h: Header file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
pwm.c
/*****************************************************************************
* pwm.c: PWM module file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconduct
pwm.prj
# Standard Project file created by RVDEBUG. Do not hand edit unless
# you know what you are doing. Use the Settings Window
# Copyright (c) 2002 - ARM Ltd
$sARM_C22.stp
[PROJECT]
author_=USB00423
pwm.asm
;/*---------------------------------------------------------------------------
;
;
;
;
; FILE NAME: C8051F060.H
; TARGET MCUs: C8051F060, F061, F062, F063
; DESCRIPTION: Register/bit definition
pwm.v
// PWM.v
//PWM模块
module PWM(wb_clk_i, wb_rst_i,wb_adr_i, wb_dat_i, wb_dat_o,wb_we_i, wb_cs_i,pwm_out);
parameter clock_divide_reg_init = 32'h0000_0000;
parameter duty_cycle_reg_init = 32'h0000_0
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