1 /*-------------------------------------------------------------------------
2 delay.h - delay functions header file
4 Copyright (C) 2005, Vangelis Rokas <vrokas AT otenet.gr>
6 This library is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this library; see the file COPYING. If not, write to the
18 Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
21 As a special exception, if you link this library with other files,
22 some of which are compiled with SDCC, to produce an executable,
23 this library does not by itself cause the resulting executable to
24 be covered by the GNU General Public License. This exception does
25 not however invalidate any other reasons why the executable file
26 might be covered by the GNU General Public License.
27 -------------------------------------------------------------------------*/
35 * the delayNNtcy family of functions performs a
36 * delay of NN cycles. Possible values for NN are:
37 * 10 10*n cycles delay
38 * 100 100*n cycles delay
39 * 1k 1000*n cycles delay
40 * 10k 10000*n cycles delay
41 * 100k 100000*n cycles delay
42 * 1m 1000000*n cycles delay
45 void delay10tcy(unsigned char) __wparam
;
46 void delay100tcy(unsigned char) __wparam
;
47 void delay1ktcy(unsigned char) __wparam
;
48 void delay10ktcy(unsigned char) __wparam
;
49 void delay100ktcy(unsigned char) __wparam
;
50 void delay1mtcy(unsigned char) __wparam
;