Hopefully update the keywords. Thanks bluebrother.
[Rockbox.git] / firmware / target / arm / tcc77x / c100 / backlight-target.h
blobaeadcdad2eab8d6563b6dd5881f94f40f66be19f
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 by Dave Chapman
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef BACKLIGHT_TARGET_H
20 #define BACKLIGHT_TARGET_H
22 #include "tcc77x.h"
24 #define _backlight_init() true
26 static inline void _backlight_on(void)
28 /* Enable backlight */
29 GPIOE |= 0x2;
32 static inline void _backlight_off(void)
34 /* Disable backlight */
35 GPIOE &= ~0x2;
38 #endif