OpenCores
URL https://opencores.org/ocsvn/gecko3/gecko3/trunk

Subversion Repositories gecko3

[/] [gecko3/] [trunk/] [GECKO3COM/] [gecko3com-fw/] [firmware/] [include/] [delay.h] - Blame information for rev 32

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 9 nussgipfel
/* -*- c++ -*- */
2
/*
3
 * Copyright 2003 Free Software Foundation, Inc.
4
 *
5
 * This file is part of GNU Radio
6
 *
7
 * GNU Radio is free software; you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation; either version 3, or (at your option)
10
 * any later version.
11
 *
12
 * GNU Radio is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 * GNU General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU General Public License
18
 * along with GNU Radio; see the file COPYING.  If not, write to
19
 * the Free Software Foundation, Inc., 51 Franklin Street,
20
 * Boston, MA 02110-1301, USA.
21
 */
22
 
23
/************************************************************************/
24
/** \file         delay.h
25
 *************************************************************************
26
 *  \brief        delay routines for Cypress EZ-USB FX2
27
 *
28
 *  \details      provides functions for a 1 us and a 1 ms delay
29
 *
30
 *  \author       GNU Radio
31
 */
32
 
33
#ifndef _DELAY_H_
34
#define _DELAY_H_
35
 
36
/**
37
 * delay for approximately usecs microseconds
38 32 nussgipfel
 * \param[in] usecs number of microseconds  to wait
39 9 nussgipfel
 * \warning limit of 255 usecs.
40
 */
41
void udelay (unsigned char usecs);
42
 
43
/**
44
 * delay for approximately msecs milliseconds
45 32 nussgipfel
 * \param[in] msecs number of milliseconds to wait
46 9 nussgipfel
 */
47
void mdelay (unsigned short msecs);
48
 
49
 
50
#endif /* _DELAY_H_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.