imx233: fix auto slow divisor
[maemo-rb.git] / firmware / target / arm / imx233 / touchscreen-imx233.h
blob7933b9063afa76246b33892304751e6f0bb03be7
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2012 by Amaury Pouly
12 * Based on Rockbox iriver bootloader by Linus Nielsen Feltzing
13 * and the ipodlinux bootloader by Daniel Palffy and Bernard Leach
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
23 ****************************************************************************/
24 #ifndef __TOUCHSCREEN_IMX233__
25 #define __TOUCHSCREEN_IMX233__
27 #include "lradc-imx233.h"
29 void imx233_touchscreen_init(void);
30 void imx233_touchscreen_enable(bool enable);
31 /* returns true if there is a touch */
32 bool imx233_touchscreen_get_touch(int *raw_x, int *raw_y);
34 #endif /* __TOUCHSCREEN_IMX233__ */