MSP432E4 DriverLib API Guide  1.11.00.03
Data Structures | Macros | Functions
lcd.h File Reference
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for lcd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tLCDIDDTiming
 
struct  tLCDRasterTiming
 

Macros

#define PAL_FROM_RGB(ui32RGBColor)
 
#define CYCLES_FROM_TIME_US(ui32ClockFreq, ui32Time_uS)
 
#define CYCLES_FROM_TIME_NS(ui32ClockFreq, ui32Time_nS)
 
#define RASTER_TIMING_SYNCS_OPPOSITE_PIXCLK   0x00000000
 
#define RASTER_TIMING_SYNCS_ON_RISING_PIXCLK   0x02000000
 
#define RASTER_TIMING_SYNCS_ON_FALLING_PIXCLK   0x03000000
 
#define RASTER_TIMING_ACTIVE_HIGH_OE   0x00000000
 
#define RASTER_TIMING_ACTIVE_LOW_OE   0x00800000
 
#define RASTER_TIMING_ACTIVE_HIGH_PIXCLK   0x00000000
 
#define RASTER_TIMING_ACTIVE_LOW_PIXCLK   0x00400000
 
#define RASTER_TIMING_ACTIVE_HIGH_HSYNC   0x00000000
 
#define RASTER_TIMING_ACTIVE_LOW_HSYNC   0x00200000
 
#define RASTER_TIMING_ACTIVE_HIGH_VSYNC   0x00000000
 
#define RASTER_TIMING_ACTIVE_LOW_VSYNC   0x00100000
 
#define LCD_MODE_LIDD   ((uint8_t)0x00)
 
#define LCD_MODE_RASTER   ((uint8_t)0x01)
 
#define LCD_MODE_AUTO_UFLOW_RESTART   ((uint8_t)0x02)
 
#define LIDD_CONFIG_SYNC_MPU68   0x00000000
 
#define LIDD_CONFIG_ASYNC_MPU68   0x00000001
 
#define LIDD_CONFIG_SYNC_MPU80   0x00000002
 
#define LIDD_CONFIG_ASYNC_MPU80   0x00000003
 
#define LIDD_CONFIG_ASYNC_HITACHI   0x00000004
 
#define LIDD_CONFIG_INVERT_ALE   0x00000008
 
#define LIDD_CONFIG_INVERT_RS_EN   0x00000010
 
#define LIDD_CONFIG_INVERT_WS_DIR   0x00000020
 
#define LIDD_CONFIG_INVERT_CS0   0x00000040
 
#define LIDD_CONFIG_INVERT_CS1   0x00000080
 
#define RASTER_FMT_ACTIVE_24BPP_PACKED   0x02000080
 
#define RASTER_FMT_ACTIVE_24BPP_UNPACKED   0x06000080
 
#define RASTER_FMT_ACTIVE_PALETTIZED_12BIT   0x00000080
 
#define RASTER_FMT_ACTIVE_PALETTIZED_16BIT   0x00800080
 
#define RASTER_FMT_PASSIVE_MONO_4PIX   0x00000002
 
#define RASTER_FMT_PASSIVE_MONO_8PIX   0x00000202
 
#define RASTER_FMT_PASSIVE_PALETTIZED   0x00000000
 
#define RASTER_FMT_PASSIVE_COLOR_12BIT   0x00000000
 
#define RASTER_FMT_PASSIVE_COLOR_16BIT   0x01000000
 
#define RASTER_ACTVID_DURING_BLANK   0x08000000
 
#define RASTER_NIBBLE_MODE_ENABLED   0x00400000
 
#define RASTER_LOAD_DATA_ONLY   0x00200000
 
#define RASTER_LOAD_PALETTE_ONLY   0x00100000
 
#define RASTER_READ_ORDER_REVERSED   0x00000100
 
#define LCD_INT_DMA_DONE   0x00000001
 
#define LCD_INT_RASTER_FRAME_DONE   0x00000002
 
#define LCD_INT_SYNC_LOST   0x00000004
 
#define LCD_INT_AC_BIAS_CNT   0x00000008
 
#define LCD_INT_UNDERFLOW   0x00000020
 
#define LCD_INT_PAL_LOAD   0x00000040
 
#define LCD_INT_EOF0   0x00000100
 
#define LCD_INT_EOF1   0x00000200
 
#define LCD_DMA_FIFORDY_8_WORDS   0x00000000
 
#define LCD_DMA_FIFORDY_16_WORDS   0x00000100
 
#define LCD_DMA_FIFORDY_32_WORDS   0x00000200
 
#define LCD_DMA_FIFORDY_64_WORDS   0x00000300
 
#define LCD_DMA_FIFORDY_128_WORDS   0x00000400
 
#define LCD_DMA_FIFORDY_256_WORDS   0x00000500
 
#define LCD_DMA_FIFORDY_512_WORDS   0x00000600
 
#define LCD_DMA_BURST_1   0x00000010
 
#define LCD_DMA_BURST_2   0x00000010
 
#define LCD_DMA_BURST_4   0x00000020
 
#define LCD_DMA_BURST_8   0x00000030
 
#define LCD_DMA_BURST_16   0x00000040
 
#define LCD_DMA_BYTE_ORDER_0123   0x00000000
 
#define LCD_DMA_BYTE_ORDER_1023   0x00000008
 
#define LCD_DMA_BYTE_ORDER_3210   0x00000002
 
#define LCD_DMA_BYTE_ORDER_2301   0x0000000A
 
#define LCD_DMA_PING_PONG   0x00000001
 
#define LCD_PALETTE_TYPE_1BPP   0x00000000
 
#define LCD_PALETTE_TYPE_2BPP   0x00001000
 
#define LCD_PALETTE_TYPE_4BPP   0x00002000
 
#define LCD_PALETTE_TYPE_8BPP   0x00003000
 
#define LCD_PALETTE_TYPE_DIRECT   0x00004000
 
#define LCD_PALETTE_SRC_24BIT   0x80000000
 
#define LCD_CLOCK_MAIN   0x00000008
 
#define LCD_CLOCK_DMA   0x00000004
 
#define LCD_CLOCK_LIDD   0x00000002
 
#define LCD_CLOCK_CORE   0x00000001
 
#define LCD_SUBPANEL_AT_TOP   0x20000000
 
#define LCD_SUBPANEL_AT_BOTTOM   0x00000000
 

Functions

uint32_t LCDModeSet (uint32_t ui32Base, uint8_t ui8Mode, uint32_t ui32PixClk, uint32_t ui32SysClk)
 
void LCDClockReset (uint32_t ui32Base, uint32_t ui32Clocks)
 
void LCDIDDConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void LCDIDDTimingSet (uint32_t ui32Base, uint32_t ui32CS, const tLCDIDDTiming *pTiming)
 
void LCDIDDDMADisable (uint32_t ui32Base)
 
void LCDIDDCommandWrite (uint32_t ui32Base, uint32_t ui32CS, uint16_t ui16Cmd)
 
void LCDIDDDataWrite (uint32_t ui32Base, uint32_t ui32CS, uint16_t ui16Data)
 
void LCDIDDIndexedWrite (uint32_t ui32Base, uint32_t ui32CS, uint16_t ui16Addr, uint16_t ui16Data)
 
uint16_t LCDIDDStatusRead (uint32_t ui32Base, uint32_t ui32CS)
 
uint16_t LCDIDDDataRead (uint32_t ui32Base, uint32_t ui32CS)
 
uint16_t LCDIDDIndexedRead (uint32_t ui32Base, uint32_t ui32CS, uint16_t ui16Addr)
 
void LCDIDDDMAWrite (uint32_t ui32Base, uint32_t ui32CS, const uint32_t *pui32Data, uint32_t ui32Count)
 
void LCDRasterConfigSet (uint32_t ui32Base, uint32_t ui32Config, uint8_t ui8PalLoadDelay)
 
void LCDRasterTimingSet (uint32_t ui32Base, const tLCDRasterTiming *pTiming)
 
void LCDRasterACBiasIntCountSet (uint32_t ui32Base, uint8_t ui8Count)
 
void LCDRasterEnable (uint32_t ui32Base)
 
bool LCDRasterEnabled (uint32_t ui32Base)
 
void LCDRasterDisable (uint32_t ui32Base)
 
void LCDRasterSubPanelConfigSet (uint32_t ui32Base, uint32_t ui32Flags, uint32_t ui32BottomLines, uint32_t ui32DefaultPixel)
 
void LCDRasterSubPanelEnable (uint32_t ui32Base)
 
void LCDRasterSubPanelDisable (uint32_t ui32Base)
 
void LCDDMAConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void LCDRasterPaletteSet (uint32_t ui32Base, uint32_t ui32Type, uint32_t *pui32PalAddr, const uint32_t *pui32SrcColors, uint32_t ui32Start, uint32_t ui32Count)
 
void LCDRasterFrameBufferSet (uint32_t ui32Base, uint8_t ui8Buffer, uint32_t *pui32Addr, uint32_t ui32NumBytes)
 
void LCDIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void LCDIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
uint32_t LCDIntStatus (uint32_t ui32Base, bool bMasked)
 
void LCDIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void LCDIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
void LCDIntUnregister (uint32_t ui32Base)
 
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale