InES Hardware Abstraction Layer
hal_ct_lcd.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * -- _____ ______ _____ -
3  * -- |_ _| | ____|/ ____| -
4  * -- | | _ __ | |__ | (___ Institute of Embedded Systems -
5  * -- | | | '_ \| __| \___ \ Zurich University of -
6  * -- _| |_| | | | |____ ____) | Applied Sciences -
7  * -- |_____|_| |_|______|_____/ 8401 Winterthur, Switzerland -
8  * ------------------------------------------------------------------------- */
16 /* Re-definition guard */
17 #ifndef _HAL_CT_LCD_H
18 #define _HAL_CT_LCD_H
19 
20 /* Standard includes */
21 #include <stdint.h>
22 
23 
24 /* -- Type definitions
25  * ------------------------------------------------------------------------- */
26 
27 
32 typedef enum {
33  HAL_LCD_RED,
34  HAL_LCD_GREEN,
35  HAL_LCD_BLUE
37 
38 
39 /* -- Public function declarations
40  * ------------------------------------------------------------------------- */
41 
47 void hal_ct_lcd_write(uint8_t position, char text[]);
48 
54 void hal_ct_lcd_color(hal_ct_lcd_color_t color, uint16_t value);
55 
59 void hal_ct_lcd_clear(void);
60 
61 
62 
63 #endif
void hal_ct_lcd_write(uint8_t position, char text[])
Write string of text on LCD.
void hal_ct_lcd_color(hal_ct_lcd_color_t color, uint16_t value)
Set the backround color of the LCD.
hal_ct_lcd_color_t
Defines the DIPSW banks on the CT-Board.
Definition: hal_ct_lcd.h:32
void hal_ct_lcd_clear(void)
Cleares the LCD display.