xref: /netbsd-src/sys/arch/sh3/dev/adcvar.h (revision 95e1ffb15694e54f29f8baaa4232152b703c2a5a)
1*95e1ffb1Schristos /*	$NetBSD: adcvar.h,v 1.2 2005/12/11 12:18:58 christos Exp $ */
249fd54d3Suwe 
349fd54d3Suwe /*
449fd54d3Suwe  * Copyright (c) 2003 Valeriy E. Ushakov
549fd54d3Suwe  * All rights reserved.
649fd54d3Suwe  *
749fd54d3Suwe  * Redistribution and use in source and binary forms, with or without
849fd54d3Suwe  * modification, are permitted provided that the following conditions
949fd54d3Suwe  * are met:
1049fd54d3Suwe  * 1. Redistributions of source code must retain the above copyright
1149fd54d3Suwe  *    notice, this list of conditions and the following disclaimer.
1249fd54d3Suwe  * 2. Redistributions in binary form must reproduce the above copyright
1349fd54d3Suwe  *    notice, this list of conditions and the following disclaimer in the
1449fd54d3Suwe  *    documentation and/or other materials provided with the distribution.
1549fd54d3Suwe  * 3. The name of the author may not be used to endorse or promote products
1649fd54d3Suwe  *    derived from this software without specific prior written permission
1749fd54d3Suwe  *
1849fd54d3Suwe  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1949fd54d3Suwe  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2049fd54d3Suwe  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2149fd54d3Suwe  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2249fd54d3Suwe  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2349fd54d3Suwe  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2449fd54d3Suwe  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2549fd54d3Suwe  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2649fd54d3Suwe  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2749fd54d3Suwe  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2849fd54d3Suwe  */
2949fd54d3Suwe 
3049fd54d3Suwe #ifndef _SH3_DEV_ADCVAR_H_
3149fd54d3Suwe #define _SH3_DEV_ADCVAR_H_
3249fd54d3Suwe 
3349fd54d3Suwe extern int	adc_sample_channel(int);
3449fd54d3Suwe 
3549fd54d3Suwe #endif /* _SH3_DEV_ADCVAR_H_ */
36