代码搜索结果
找到约 1,762 项符合
Speaker 的代码
speaker.txt
library ieee;
use ieee.std_logic_1164.all;
entity speakera1 is
port(clk:in std_logic;
tone:in integer range 0 to 16#7FF#;
spks:out std_logic);
end ;
architecture one of sp
speaker.h
/*
* Copyright (C) 2001-2003 Jacek Sieka, j_s@telia.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ
speaker.xpm
/* XPM */
static char * speaker_xpm[] = {
"16 16 17 1",
"* c None",
". c #000000",
"+ c #800000",
"@ c #008000",
"# c #808000",
"$ c #000080",
"% c #800080",
"& c #008080",
" c #C0C0C0",
"= c #808080
speaker.h
/*
* Copyright (c) 1999 University of Utah and the Flux Group.
* All rights reserved.
*
* This file is part of the Flux OSKit. The OSKit is free software, also known
* as "open source;" you can
speaker.h
/*
* speaker.h -- interface definitions for speaker ioctl()
*
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov
*
*
speaker.h
/*
* speaker.h -- interface definitions for speaker ioctl()
*
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov
*
*
speaker.c
#include
#include
void speaker(unsigned int time,unsigned char num)
{
unsigned tmp;
for(;num>0;num--)
{
tmp=time;
P3_4=0;
while(--tmp) ;
P3_4=1;
if (
speaker.h
#ifndef __SPEAKER_H__
#define __SPEAKER_H__
void speaker(unsigned int time,unsigned char num);
#endif