mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08: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
|
@ -0,0 +1,56 @@
|
|||
/*-----------------------------------------------------------------------*/
|
||||
/* EZ-LCD - Generic control module include/configuration file */
|
||||
/*-----------------------------------------------------------------------*/
|
||||
|
||||
#ifndef _EZ_LCD
|
||||
#define _EZ_LCD
|
||||
|
||||
/*--------------------------------------------------*/
|
||||
/* Configuration Options */
|
||||
/*--------------------------------------------------*/
|
||||
|
||||
#define _LCD_ROWS 2 /* Number of Rows (1,2 or 4) */
|
||||
#define _LCD_COLS 8 /* Number of Columns (8..40) */
|
||||
|
||||
#define _USE_CURSOR 0 /* 1:Enable lcd_cursor function */
|
||||
#define _USE_CGRAM 0 /* 1:Enable lcd_setcg function */
|
||||
|
||||
#define _USE_FUEL 0 /* 1:Enable lcd_put_fuel function (_USE_CGRAM must be 1) */
|
||||
|
||||
#define _USE_BAR 0 /* 1:Enable lcd_put_bar function (_USE_CGRAM must be 1) */
|
||||
#define _MAX_BAR 255 /* Maximum value for lcd_put_bar function */
|
||||
|
||||
#define _USE_POINT 0 /* 1:Enable lcd_put_point function (_USE_CGRAM must be 1) */
|
||||
#define _MAX_POINT 255 /* Maximum value for lcd_put_point function */
|
||||
|
||||
#define _BASE_GRAPH 0 /* Common user character used by lcd_put_bar/lcd_put_point function (2 chars from this) */
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------*/
|
||||
/* API declareations */
|
||||
/*--------------------------------------------------*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void lcd_init (void);
|
||||
void lcd_locate (uint8_t, uint8_t);
|
||||
void lcd_putc (uint8_t);
|
||||
void lcd_cursor (uint8_t);
|
||||
void lcd_setcg (uint8_t, uint8_t, const uint8_t*);
|
||||
void lcd_put_fuel (int8_t, uint8_t);
|
||||
void lcd_put_bar (uint16_t, uint8_t, uint8_t);
|
||||
void lcd_put_point (uint16_t, uint8_t, uint8_t);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define CSR_OFF 0
|
||||
#define CSR_BLOCK 1
|
||||
#define CSR_UNDER 2
|
||||
|
||||
|
||||
#endif /* #ifndef _EZLCD */
|
Loading…
Add table
Add a link
Reference in a new issue