From d528e54b619007ec30bfbbe9dca6c0886c822b74 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 25 Feb 2007 22:09:14 +0000 Subject: Move target specific parts of the H100 remote LCD driver to target tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12485 a1c6a512-1295-4272-9138-f99709370657 --- .../target/coldfire/iriver/lcd-remote-target.h | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 firmware/target/coldfire/iriver/lcd-remote-target.h (limited to 'firmware/target/coldfire/iriver/lcd-remote-target.h') diff --git a/firmware/target/coldfire/iriver/lcd-remote-target.h b/firmware/target/coldfire/iriver/lcd-remote-target.h new file mode 100755 index 0000000000..a95f9adade --- /dev/null +++ b/firmware/target/coldfire/iriver/lcd-remote-target.h @@ -0,0 +1,44 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id: lcd-remote-target.h 11967 2007-01-09 23:29:07Z linus $ + * + * Copyright (C) 2007 by Jens Arnold + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#ifndef LCD_REMOTE_TARGET_H +#define LCD_REMOTE_TARGET_H + +#define REMOTE_INIT_LCD 1 +#define REMOTE_DEINIT_LCD 2 + +void lcd_remote_write_command(int cmd); +void lcd_remote_write_command_ex(int cmd, int data); +void lcd_remote_write_data(const unsigned char* p_bytes, int count); +#ifdef HAVE_REMOTE_LCD_TICKING +void lcd_remote_emireduce(bool state); +#endif +void lcd_remote_powersave(bool on); +void lcd_remote_set_invert_display(bool yesno); +void lcd_remote_set_flip(bool yesno); + +bool remote_detect(void); +void lcd_remote_init_device(void); +void lcd_remote_on(void); +void lcd_remote_off(void); +void lcd_remote_update(void); +void lcd_remote_update_rect(int, int, int, int); + +extern bool remote_initialized; + +#endif -- cgit v1.2.3