No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / zaurus / dev / zsspvar.h
blob1d3b39644cae21a9e90c9cebc6b2b9c82e71c12f
1 /* $NetBSD$ */
2 /* $OpenBSD: zaurus_sspvar.h,v 1.3 2005/04/08 21:58:49 uwe Exp $ */
4 /*
5 * Copyright (c) 2005 Uwe Stuehler <uwe@bsdx.de>
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 #ifndef _ZAURUS_DEV_ZSSPVAR_H_
21 #define _ZAURUS_DEV_ZSSPVAR_H_
23 #define ZSSP_IC_MAX1111 1 /* temperature/voltage ADC */
24 #define ZSSP_IC_LZ9JG18 2 /* LCD backlight controller */
25 #define ZSSP_IC_ADS7846 3 /* touch screen controller */
27 void zssp_ic_start(int, uint32_t);
28 uint32_t zssp_ic_send(int, uint32_t);
29 uint32_t zssp_ic_stop(int);
31 int zssp_read_max1111(uint32_t);
32 uint32_t zssp_read_ads7846(u_int32_t);
33 void zssp_write_lz9jg18(uint32_t);
35 #endif /* _ZAURUS_DEV_ZSSPVAR_H_ */