lcd.h 770 B

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef __XTENSA_XTAVNET_LCD_H
  11. #define __XTENSA_XTAVNET_LCD_H
  12. #ifdef CONFIG_XTFPGA_LCD
  13. /* Display string STR at position POS on the LCD. */
  14. void lcd_disp_at_pos(char *str, unsigned char pos);
  15. /* Shift the contents of the LCD display left or right. */
  16. void lcd_shiftleft(void);
  17. void lcd_shiftright(void);
  18. #else
  19. static inline void lcd_disp_at_pos(char *str, unsigned char pos)
  20. {
  21. }
  22. static inline void lcd_shiftleft(void)
  23. {
  24. }
  25. static inline void lcd_shiftright(void)
  26. {
  27. }
  28. #endif
  29. #endif