Macros | Functions
lcd.c File Reference
#include <ti/devices/msp432e4/inc/msp432e411y.h>
#include "types.h"
#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_lcd.h"
#include "interrupt.h"
#include "sysctl.h"
#include "lcd.h"
#include "debug.h"

Macros

#define LCD_RASTRTIM0_MSBPPL_S   3
 
#define LCD_RASTRTIM2_MSBLPP_S   26
 

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 *pui32Addr, 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 2017, Texas Instruments Incorporated