![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
Functions | |
STATIC INLINE void | Chip_LCD_Init (LCD_Config_Type *LCD_ConfigStruct) |
Initialize the LCD controller. | |
STATIC INLINE void | Chip_LCD_Power (FunctionalState OnOff) |
Power the LCD Panel (power pin) | |
STATIC INLINE void | Chip_LCD_Enable (FunctionalState EnDis) |
Enable/Disable the LCD Controller. | |
STATIC INLINE void | Chip_LCD_SetUPFrameBuffer (void *buffer) |
Set LCD Upper Panel Frame Buffer for Single Panel or Upper Panel Frame Buffer for Dual Panel. | |
STATIC INLINE void | Chip_LCD_SetLPFrameBuffer (void *buffer) |
Set LCD Lower Panel Frame Buffer for Dual Panel. | |
void | Chip_LCD_Cursor_Config (LCD_CURSOR_SIZE_OPT cursor_size, bool sync) |
Configure Cursor. | |
STATIC INLINE void | Chip_LCD_Cursor_Enable (uint8_t cursor_num, FunctionalState OnOff) |
Enable Cursor. | |
STATIC INLINE void | Chip_LCD_Cursor_LoadPalette0 (uint32_t palette_color) |
Load Cursor Palette. | |
STATIC INLINE void | Chip_LCD_Cursor_LoadPalette1 (uint32_t palette_color) |
Load Cursor Palette. | |
STATIC INLINE void | Chip_LCD_Cursor_SetPos (uint16_t x, uint16_t y) |
Set Cursor Position. | |
STATIC INLINE void | Chip_LCD_Cursor_SetClip (uint16_t x, uint16_t y) |
Set Cursor Clipping Position. | |
STATIC INLINE void | Chip_LCD_EnableInts (uint32_t ints) |
Enable Controller Interrupt. | |
STATIC INLINE void | Chip_LCD_DisableInts (uint32_t ints) |
Disable Controller Interrupt. | |
STATIC INLINE void | Chip_LCD_ClearInts (uint32_t ints) |
Clear Controller Interrupt. | |
void | Chip_LCD_Cursor_WriteImage (uint8_t cursor_num, void *Image) |
Write Cursor Image into Internal Cursor Image Buffer. | |
void | Chip_LCD_LoadPalette (void *palette) |
Load LCD Palette. | |
Clear Controller Interrupt.
ints | : OR'ed interrupt bits to clear |
Definition at line 188 of file lcd_18xx_43xx.h.
void Chip_LCD_Cursor_Config | ( | LCD_CURSOR_SIZE_OPT | cursor_size, |
bool | sync | ||
) |
Configure Cursor.
cursor_size | : specify size of cursor
|
sync | : cursor sync mode
|
Definition at line 53 of file lcd_18xx_43xx.c.
STATIC INLINE void Chip_LCD_Cursor_Enable | ( | uint8_t | cursor_num, |
FunctionalState | OnOff | ||
) |
Enable Cursor.
cursor_num | : specify number of cursor is going to be written this param must < 4 |
OnOff | : true to turn on LCD, false to turn off |
Definition at line 116 of file lcd_18xx_43xx.h.
Load Cursor Palette.
palette_color | : cursor palette 0 value |
Definition at line 126 of file lcd_18xx_43xx.h.
Load Cursor Palette.
palette_color | : cursor palette 1 value |
Definition at line 136 of file lcd_18xx_43xx.h.
Set Cursor Clipping Position.
x | : horizontal position, should be in range: 0..63 |
y | : vertical position, should be in range: 0..63 |
Definition at line 158 of file lcd_18xx_43xx.h.
Set Cursor Position.
x | : horizontal position |
y | : vertical position |
Definition at line 147 of file lcd_18xx_43xx.h.
void Chip_LCD_Cursor_WriteImage | ( | uint8_t | cursor_num, |
void * | Image | ||
) |
Write Cursor Image into Internal Cursor Image Buffer.
cursor_num | : Cursor index |
Image | : Pointer to image data |
Definition at line 60 of file lcd_18xx_43xx.c.
Disable Controller Interrupt.
ints | : OR'ed interrupt bits to disable |
Definition at line 178 of file lcd_18xx_43xx.h.
STATIC INLINE void Chip_LCD_Enable | ( | FunctionalState | EnDis | ) |
Enable/Disable the LCD Controller.
EnDis | : true to enable, false to disable |
Definition at line 71 of file lcd_18xx_43xx.h.
Enable Controller Interrupt.
ints | : OR'ed interrupt bits to enable |
Definition at line 168 of file lcd_18xx_43xx.h.
STATIC INLINE void Chip_LCD_Init | ( | LCD_Config_Type * | LCD_ConfigStruct | ) |
Initialize the LCD controller.
LCD_ConfigStruct | : Pointer to LCD configuration |
Definition at line 51 of file lcd_18xx_43xx.h.
void Chip_LCD_LoadPalette | ( | void * | palette | ) |
Load LCD Palette.
palette | : Address of palette table to load |
Definition at line 86 of file lcd_18xx_43xx.c.
STATIC INLINE void Chip_LCD_Power | ( | FunctionalState | OnOff | ) |
Power the LCD Panel (power pin)
OnOff | : true to power on, false to power off |
Definition at line 61 of file lcd_18xx_43xx.h.
Set LCD Lower Panel Frame Buffer for Dual Panel.
buffer | : address of buffer |
Definition at line 92 of file lcd_18xx_43xx.h.
Set LCD Upper Panel Frame Buffer for Single Panel or Upper Panel Frame Buffer for Dual Panel.
buffer | : address of buffer |
Definition at line 82 of file lcd_18xx_43xx.h.