| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
lcd_001.h File Reference
`#include "sys_config.h"`
`#include "cmsis.h"`

Go to the source code of this file.

## Data Structures
struct | IP_LCD_001_T
| LCD Controller register block structure. More...
struct | LCD_PALETTE_ENTRY_T
| LCD Palette entry format. More...
struct | LCD_Config_T
| A structure for LCD Configuration. More...

## Macros
#define | LCD_INTMSK_FUFIM 0x2
#define | LCD_INTMSK_LNBUIM 0x4
#define | LCD_INTMSK_VCOMPIM 0x8
#define | LCD_INTMSK_BERIM 0x10
#define | CLCDC_LCDCTRL_ENABLE _BIT(0)
#define | CLCDC_LCDCTRL_PWR _BIT(11)

## Enumerations
enum | IP_LCD_PANEL_OPT_T { LCD_TFT = 0x02, LCD_MONO_4 = 0x01, LCD_MONO_8 = 0x05, LCD_CSTN = 0x00 }
| LCD Panel type. More...
enum | IP_LCD_COLOR_FORMAT_OPT_T { LCD_COLOR_FORMAT_RGB = 0, LCD_COLOR_FORMAT_BGR }
| LCD Color Format. More...
enum | IP_LCD_CURSOR_SIZE_OPT_T { LCD_CURSOR_32x32 = 0, LCD_CURSOR_64x64 }
| LCD Cursor Size. More...

## Functions
STATIC INLINE void | IP_LCD_EnableInts (IP_LCD_001_T *pLCD, uint32_t ints)
| Enable Controller Interrupt.
STATIC INLINE void | IP_LCD_DisableInts (IP_LCD_001_T *pLCD, uint32_t ints)
| Disable Controller Interrupt.
STATIC INLINE void | IP_LCD_ClearInts (IP_LCD_001_T *pLCD, uint32_t ints)
| Clear Controller Interrupt.
STATIC INLINE void | IP_LCD_PowerOn (IP_LCD_001_T *pLCD)
| Power-on the LCD Panel (power pin)
STATIC INLINE void | IP_LCD_PowerOff (IP_LCD_001_T *pLCD)
| Power-off the LCD Panel (power pin)
STATIC INLINE void | IP_LCD_Enable (IP_LCD_001_T *pLCD)
| Enable the LCD Controller.
STATIC INLINE void | IP_LCD_Disable (IP_LCD_001_T *pLCD)
| Enable the LCD Controller.
STATIC INLINE void | IP_LCD_SetUPFrameBuffer (IP_LCD_001_T *pLCD, void *buffer)
| Set LCD Upper Panel Frame Buffer for Single Panel or Upper Panel Frame Buffer for Dual Panel.
STATIC INLINE void | IP_LCD_SetLPFrameBuffer (IP_LCD_001_T *pLCD, void *buffer)
| Set LCD Lower Panel Frame Buffer for Dual Panel.
STATIC INLINE void | IP_LCD_Cursor_Config (IP_LCD_001_T *pLCD, IP_LCD_CURSOR_SIZE_OPT_T cursor_size, bool sync)
| Configure Cursor.
STATIC INLINE void * | IP_LCD_Cursor_GetImageBufferAddress (IP_LCD_001_T *pLCD, uint8_t cursor_num)
| Get Internal Cursor Image Buffer Address.
STATIC INLINE void | IP_LCD_Cursor_Enable (IP_LCD_001_T *pLCD, uint8_t cursor_num)
| Enable Cursor.
STATIC INLINE void | IP_LCD_Cursor_Disable (IP_LCD_001_T *pLCD, uint8_t cursor_num)
| Disable Cursor.
STATIC INLINE void | IP_LCD_Cursor_LoadPalette0 (IP_LCD_001_T *pLCD, uint32_t palette_color)
| Load Cursor Palette.
STATIC INLINE void | IP_LCD_Cursor_LoadPalette1 (IP_LCD_001_T *pLCD, uint32_t palette_color)
| Load Cursor Palette.
STATIC INLINE void | IP_LCD_Cursor_SetPos (IP_LCD_001_T *pLCD, uint16_t x, uint16_t y)
| Set Cursor Position.
STATIC INLINE void | IP_LCD_Cursor_SetClip (IP_LCD_001_T *pLCD, uint16_t x, uint16_t y)
| Set Cursor Clipping Position.
STATIC INLINE void | IP_LCD_Color_LoadPalette (IP_LCD_001_T *pLCD, uint32_t *palette_addr, uint32_t index)
| Load a color Palette entry.
void | IP_LCD_Init (IP_LCD_001_T *pLCD, LCD_Config_T *LCD_ConfigStruct)
| Initialize the LCD controller.