![]() |
MINI51DE_BSP V3.02.004
The Board Support Package for Mini51DE Series MCU
|
MINI51 series LCD Module library source file. More...
Go to the source code of this file.
Functions | |
static __INLINE void | SpiWrite (uint32_t u32Data) |
Macro for SPI write method. More... | |
void | LCD_Init (void) |
Use SPI interface to configure LCD module. More... | |
static void | SetPACA (uint8_t PA, uint8_t CA) |
Configure start address of LCD. More... | |
static void | ShowChar (uint8_t x, uint8_t y, uint8_t ascii_word) |
Show a char on LCD. More... | |
void | LCD_EnableBackLight (void) |
Enable back-light of LCD. More... | |
void | LCD_DisableBackLight (void) |
Disable back-light of LCD. More... | |
void | LCD_Print (uint8_t line, char *str) |
Show a string on specific line. More... | |
void | LCD_ClearScreen (void) |
Clear screen to background color. More... | |
Variables | |
const char | Ascii [] |
MINI51 series LCD Module library source file.
Definition in file lcd_driver.c.
void LCD_ClearScreen | ( | void | ) |
Clear screen to background color.
None |
Definition at line 158 of file lcd_driver.c.
void LCD_DisableBackLight | ( | void | ) |
Disable back-light of LCD.
None |
Definition at line 128 of file lcd_driver.c.
void LCD_EnableBackLight | ( | void | ) |
Enable back-light of LCD.
None |
Definition at line 117 of file lcd_driver.c.
void LCD_Init | ( | void | ) |
Use SPI interface to configure LCD module.
None |
Definition at line 35 of file lcd_driver.c.
void LCD_Print | ( | uint8_t | line, |
char * | str | ||
) |
Show a string on specific line.
line | Line number |
str | string |
Definition at line 140 of file lcd_driver.c.
|
static |
Configure start address of LCD.
PA | PA value for LCD |
CA | CA value for LCD |
Definition at line 72 of file lcd_driver.c.
|
static |
Show a char on LCD.
x | X position |
y | Y position |
ascii_word | ASCII character that will be shown on LCD |
Definition at line 91 of file lcd_driver.c.
|
static |
Macro for SPI write method.
u32Data | Data will be written by SPI |
Definition at line 22 of file lcd_driver.c.
|
extern |
ASCII table for LCD driver
Definition at line 14 of file ascii_table.c.