Clemens Valens / inc

Dependents:   SoundEngine

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers user_interface.h Source File

user_interface.h

00001 /*
00002  * @brief User interface
00003  *
00004  * @note
00005  * Copyright (C) Elektor, 2014
00006  * All rights reserved.
00007  *
00008  * @par
00009  * This software is supplied "AS IS" without any warranties of any kind,
00010  * and Elektor and its licensor disclaim any and all warranties, express
00011  * or implied, including all implied warranties of merchantability,
00012  * fitness for a particular purpose and non-infringement of intellectual
00013  * property rights.  Elektor assumes no responsibility or liability for
00014  * the use of the software, conveys no license or rights under any patent,
00015  * copyright, mask work right, or any other intellectual property rights in
00016  * or to any products. Elektor reserves the right to make changes in the
00017  * software without notification. Elektor also makes no representation or
00018  * warranty that such application will be suitable for the specified use
00019  * without further testing or modification.
00020  *
00021  * @par
00022  * Permission to use, copy, modify, and distribute this software and its
00023  * documentation is hereby granted, under Elektor's and its licensor's
00024  * relevant copyrights in the software, without fee.  This copyright,
00025  * permission, and disclaimer notice must appear in all copies of this code.
00026  */
00027 
00028 #ifndef __DISPLAY_H__
00029 #define __DISPLAY_H__
00030 
00031 
00032 #define PAGE_SPLASH  (0)
00033 #define PAGE_FUNCTION  (1)
00034 #define PAGE_CTRL  (2)
00035 
00036 
00037 void display_init(void);
00038 void display_print_value(uint8_t line, uint8_t position, int value, boolean ignore_sign);
00039 void display_page_splash(void);
00040 void display_page_function(void);
00041 void display_page_ctrl(void);
00042 boolean display_page_set(uint8_t page);
00043 uint8_t display_page_get(void);
00044 void display_draw(boolean force_redraw);
00045 void display_invalidate(void);
00046 
00047 
00048 #endif // __DISPLAY_H__