lcd.h (770B)
1/* 2 * arch/xtensa/platform/xtavnet/include/platform/lcd.h 3 * 4 * This file is subject to the terms and conditions of the GNU General Public 5 * License. See the file "COPYING" in the main directory of this archive 6 * for more details. 7 * 8 * Copyright (C) 2001, 2006 Tensilica Inc. 9 */ 10 11#ifndef __XTENSA_XTAVNET_LCD_H 12#define __XTENSA_XTAVNET_LCD_H 13 14#ifdef CONFIG_XTFPGA_LCD 15/* Display string STR at position POS on the LCD. */ 16void lcd_disp_at_pos(char *str, unsigned char pos); 17 18/* Shift the contents of the LCD display left or right. */ 19void lcd_shiftleft(void); 20void lcd_shiftright(void); 21#else 22static inline void lcd_disp_at_pos(char *str, unsigned char pos) 23{ 24} 25 26static inline void lcd_shiftleft(void) 27{ 28} 29 30static inline void lcd_shiftright(void) 31{ 32} 33#endif 34 35#endif