mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Add FreeRTOS-Plus directory.
This commit is contained in:
parent
7bd5f21ad5
commit
f508a5f653
6798 changed files with 134949 additions and 19 deletions
73
FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/lcd/lcdcontroller.h
Normal file
73
FreeRTOS/Demo/CORTEX_EFMG890F128_IAR/lcd/lcdcontroller.h
Normal file
|
@ -0,0 +1,73 @@
|
|||
/**************************************************************************//**
|
||||
* @file
|
||||
* @brief LCD Controller header file
|
||||
* @author Energy Micro AS
|
||||
* @version 1.0.1
|
||||
******************************************************************************
|
||||
* @section License
|
||||
* <b>(C) Copyright 2009 Energy Micro AS, http://www.energymicro.com</b>
|
||||
******************************************************************************
|
||||
*
|
||||
* This source code is the property of Energy Micro AS. The source and compiled
|
||||
* code may only be used on Energy Micro "EFM32" microcontrollers.
|
||||
*
|
||||
* This copyright notice may not be removed from the source code nor changed.
|
||||
*
|
||||
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no
|
||||
* obligation to support this Software. Energy Micro AS is providing the
|
||||
* Software "AS IS", with no express or implied warranties of any kind,
|
||||
* including, but not limited to, any implied warranties of merchantability
|
||||
* or fitness for any particular purpose or warranties against infringement
|
||||
* of any proprietary rights of a third party.
|
||||
*
|
||||
* Energy Micro AS will not be liable for any consequential, incidental, or
|
||||
* special damages, or any other relief, or for any claim by any third party,
|
||||
* arising from your use of this Software.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef _LCDCONTROLLER_H
|
||||
#define _LCDCONTROLLER_H
|
||||
|
||||
#include "efm32.h"
|
||||
|
||||
/* Range of symbols available on display */
|
||||
typedef enum
|
||||
{
|
||||
LCD_SYMBOL_GECKO,
|
||||
LCD_SYMBOL_ANT,
|
||||
LCD_SYMBOL_PAD0,
|
||||
LCD_SYMBOL_PAD1,
|
||||
LCD_SYMBOL_AM,
|
||||
LCD_SYMBOL_PM,
|
||||
LCD_SYMBOL_EFM32,
|
||||
LCD_SYMBOL_MINUS,
|
||||
LCD_SYMBOL_COL3,
|
||||
LCD_SYMBOL_COL5,
|
||||
LCD_SYMBOL_COL10,
|
||||
LCD_SYMBOL_DP2,
|
||||
LCD_SYMBOL_DP3,
|
||||
LCD_SYMBOL_DP4,
|
||||
LCD_SYMBOL_DP5,
|
||||
LCD_SYMBOL_DP6,
|
||||
LCD_SYMBOL_DP10,
|
||||
} lcdSymbol;
|
||||
|
||||
/* Regular functions */
|
||||
void LCD_Init(LCD_TypeDef *lcd);
|
||||
void LCD_IRQHandler(void);
|
||||
void LCD_Disable(LCD_TypeDef *lcd);
|
||||
|
||||
void LCD_AllOff(LCD_TypeDef *lcd);
|
||||
void LCD_AllOn(LCD_TypeDef *lcd);
|
||||
|
||||
void LCD_ARing(LCD_TypeDef *lcd, int anum, int on);
|
||||
void LCD_Battery(LCD_TypeDef *lcd, int batteryLevel);
|
||||
void LCD_EnergyMode(LCD_TypeDef *lcd, int em, int on);
|
||||
void LCD_Number(LCD_TypeDef *lcd, int value);
|
||||
void LCD_NumberOff(LCD_TypeDef *lcd);
|
||||
void LCD_Symbol(LCD_TypeDef *lcd, lcdSymbol s, int on);
|
||||
void LCD_Write(LCD_TypeDef *lcd, char *string);
|
||||
void LCD_ScrollText(LCD_TypeDef *lcd, char *scrolltext);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue