xref: /rk3399_rockchip-uboot/include/led-display.h (revision 7f0d241d5ce8c7d0dff49f74498bf5708002424e)
1*7f0d241dSIlya Yanok /*
2*7f0d241dSIlya Yanok  * (C) Copyright 2005-2010
3*7f0d241dSIlya Yanok  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*7f0d241dSIlya Yanok  *
5*7f0d241dSIlya Yanok  * (C) Copyright 2010
6*7f0d241dSIlya Yanok  * Sergei Poselenov, Emcraft Systems, sposelenov@emcraft.com.
7*7f0d241dSIlya Yanok  *
8*7f0d241dSIlya Yanok  * See file CREDITS for list of people who contributed to this
9*7f0d241dSIlya Yanok  * project.
10*7f0d241dSIlya Yanok  *
11*7f0d241dSIlya Yanok  * This program is free software; you can redistribute it and/or
12*7f0d241dSIlya Yanok  * modify it under the terms of the GNU General Public License as
13*7f0d241dSIlya Yanok  * published by the Free Software Foundation; either version 2 of
14*7f0d241dSIlya Yanok  * the License, or (at your option) any later version.
15*7f0d241dSIlya Yanok  *
16*7f0d241dSIlya Yanok  * This program is distributed in the hope that it will be useful,
17*7f0d241dSIlya Yanok  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18*7f0d241dSIlya Yanok  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*7f0d241dSIlya Yanok  * GNU General Public License for more details.
20*7f0d241dSIlya Yanok  *
21*7f0d241dSIlya Yanok  * You should have received a copy of the GNU General Public License
22*7f0d241dSIlya Yanok  * along with this program; if not, write to the Free Software
23*7f0d241dSIlya Yanok  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24*7f0d241dSIlya Yanok  * MA 02111-1307 USA
25*7f0d241dSIlya Yanok  */
26*7f0d241dSIlya Yanok #ifndef _led_display_h_
27*7f0d241dSIlya Yanok #define _led_display_h_
28*7f0d241dSIlya Yanok 
29*7f0d241dSIlya Yanok /* Display Commands */
30*7f0d241dSIlya Yanok #define DISPLAY_CLEAR	0x1 /* Clear the display */
31*7f0d241dSIlya Yanok #define DISPLAY_HOME	0x2 /* Set cursor at home position */
32*7f0d241dSIlya Yanok #define DISPLAY_MARK	0x4 /* Enable the decimal point led, if implemented */
33*7f0d241dSIlya Yanok 
34*7f0d241dSIlya Yanok void display_set(int cmd);
35*7f0d241dSIlya Yanok int display_putc(char c);
36*7f0d241dSIlya Yanok #endif
37