OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [CORTEX_EFMG890F128_IAR/] [lcd/] [lcdcontroller.h] - Blame information for rev 620

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 595 jeremybenn
/**************************************************************************//**
2
 * @file
3
 * @brief LCD Controller header file
4
 * @author Energy Micro AS
5
 * @version 1.0.1
6
 ******************************************************************************
7
 * @section License
8
 * <b>(C) Copyright 2009 Energy Micro AS, http://www.energymicro.com</b>
9
 ******************************************************************************
10
 *
11
 * This source code is the property of Energy Micro AS. The source and compiled
12
 * code may only be used on Energy Micro "EFM32" microcontrollers.
13
 *
14
 * This copyright notice may not be removed from the source code nor changed.
15
 *
16
 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no
17
 * obligation to support this Software. Energy Micro AS is providing the
18
 * Software "AS IS", with no express or implied warranties of any kind,
19
 * including, but not limited to, any implied warranties of merchantability
20
 * or fitness for any particular purpose or warranties against infringement
21
 * of any proprietary rights of a third party.
22
 *
23
 * Energy Micro AS will not be liable for any consequential, incidental, or
24
 * special damages, or any other relief, or for any claim by any third party,
25
 * arising from your use of this Software.
26
 *
27
 *****************************************************************************/
28
 
29
#ifndef _LCDCONTROLLER_H
30
#define _LCDCONTROLLER_H
31
 
32
#include "efm32.h"
33
 
34
/* Range of symbols available on display */
35
typedef enum
36
{
37
  LCD_SYMBOL_GECKO,
38
  LCD_SYMBOL_ANT,
39
  LCD_SYMBOL_PAD0,
40
  LCD_SYMBOL_PAD1,
41
  LCD_SYMBOL_AM,
42
  LCD_SYMBOL_PM,
43
  LCD_SYMBOL_EFM32,
44
  LCD_SYMBOL_MINUS,
45
  LCD_SYMBOL_COL3,
46
  LCD_SYMBOL_COL5,
47
  LCD_SYMBOL_COL10,
48
  LCD_SYMBOL_DP2,
49
  LCD_SYMBOL_DP3,
50
  LCD_SYMBOL_DP4,
51
  LCD_SYMBOL_DP5,
52
  LCD_SYMBOL_DP6,
53
  LCD_SYMBOL_DP10,
54
} lcdSymbol;
55
 
56
/* Regular functions */
57
void LCD_Init(LCD_TypeDef *lcd);
58
void LCD_IRQHandler(void);
59
void LCD_Disable(LCD_TypeDef *lcd);
60
 
61
void LCD_AllOff(LCD_TypeDef *lcd);
62
void LCD_AllOn(LCD_TypeDef *lcd);
63
 
64
void LCD_ARing(LCD_TypeDef *lcd, int anum, int on);
65
void LCD_Battery(LCD_TypeDef *lcd, int batteryLevel);
66
void LCD_EnergyMode(LCD_TypeDef *lcd, int em, int on);
67
void LCD_Number(LCD_TypeDef *lcd, int value);
68
void LCD_NumberOff(LCD_TypeDef *lcd);
69
void LCD_Symbol(LCD_TypeDef *lcd, lcdSymbol s, int on);
70
void LCD_Write(LCD_TypeDef *lcd, char *string);
71
void LCD_ScrollText(LCD_TypeDef *lcd, char *scrolltext);
72
 
73
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.