TianoCore EDK2 master
Loading...
Searching...
No Matches
HdLcd.h File Reference

Go to the source code of this file.

Macros

#define HDLCD_REG_VERSION   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x000)
 
#define HDLCD_REG_INT_RAWSTAT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x010)
 
#define HDLCD_REG_INT_CLEAR   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x014)
 
#define HDLCD_REG_INT_MASK   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x018)
 
#define HDLCD_REG_INT_STATUS   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x01C)
 
#define HDLCD_REG_FB_BASE   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x100)
 
#define HDLCD_REG_FB_LINE_LENGTH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x104)
 
#define HDLCD_REG_FB_LINE_COUNT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x108)
 
#define HDLCD_REG_FB_LINE_PITCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x10C)
 
#define HDLCD_REG_BUS_OPTIONS   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x110)
 
#define HDLCD_REG_V_SYNC   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x200)
 
#define HDLCD_REG_V_BACK_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x204)
 
#define HDLCD_REG_V_DATA   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x208)
 
#define HDLCD_REG_V_FRONT_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x20C)
 
#define HDLCD_REG_H_SYNC   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x210)
 
#define HDLCD_REG_H_BACK_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x214)
 
#define HDLCD_REG_H_DATA   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x218)
 
#define HDLCD_REG_H_FRONT_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x21C)
 
#define HDLCD_REG_POLARITIES   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x220)
 
#define HDLCD_REG_COMMAND   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x230)
 
#define HDLCD_REG_PIXEL_FORMAT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x240)
 
#define HDLCD_REG_RED_SELECT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x244)
 
#define HDLCD_REG_GREEN_SELECT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x248)
 
#define HDLCD_REG_BLUE_SELECT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x24C)
 
#define HDLCD_DMA_END   BIT0 /* DMA has finished reading a frame */
 
#define HDLCD_BUS_ERROR   BIT1 /* DMA bus error */
 
#define HDLCD_SYNC   BIT2 /* Vertical sync */
 
#define HDLCD_UNDERRUN   BIT3 /* No Data available while DATAEN active */
 
#define HDLCD_DISABLE   0
 
#define HDLCD_ENABLE   BIT0
 
#define HDLCD_BURST_1   BIT0
 
#define HDLCD_BURST_2   BIT1
 
#define HDLCD_BURST_4   BIT2
 
#define HDLCD_BURST_8   BIT3
 
#define HDLCD_BURST_16   BIT4
 
#define HDLCD_VSYNC_HIGH   BIT0
 
#define HDLCD_HSYNC_HIGH   BIT1
 
#define HDLCD_DATEN_HIGH   BIT2
 
#define HDLCD_DATA_HIGH   BIT3
 
#define HDLCD_PXCLK_HIGH   BIT4
 
#define HDLCD_VSYNC_LOW   0
 
#define HDLCD_HSYNC_LOW   0
 
#define HDLCD_DATEN_LOW   0
 
#define HDLCD_DATA_LOW   0
 
#define HDLCD_PXCLK_LOW   0
 
#define HDLCD_DEFAULT_POLARITIES
 
#define HDLCD_LITTLE_ENDIAN   (0 << 31)
 
#define HDLCD_BIG_ENDIAN   (1 << 31)
 
#define HDLCD_4BYTES_PER_PIXEL   ((4 - 1) << 3)
 
#define HDLCD_PRODUCT_ID   0x1CDC
 

Detailed Description

Copyright (c) 2011-2018, ARM Ltd. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file HdLcd.h.

Macro Definition Documentation

◆ HDLCD_4BYTES_PER_PIXEL

#define HDLCD_4BYTES_PER_PIXEL   ((4 - 1) << 3)

Definition at line 80 of file HdLcd.h.

◆ HDLCD_BIG_ENDIAN

#define HDLCD_BIG_ENDIAN   (1 << 31)

Definition at line 77 of file HdLcd.h.

◆ HDLCD_BURST_1

#define HDLCD_BURST_1   BIT0

Definition at line 51 of file HdLcd.h.

◆ HDLCD_BURST_16

#define HDLCD_BURST_16   BIT4

Definition at line 55 of file HdLcd.h.

◆ HDLCD_BURST_2

#define HDLCD_BURST_2   BIT1

Definition at line 52 of file HdLcd.h.

◆ HDLCD_BURST_4

#define HDLCD_BURST_4   BIT2

Definition at line 53 of file HdLcd.h.

◆ HDLCD_BURST_8

#define HDLCD_BURST_8   BIT3

Definition at line 54 of file HdLcd.h.

◆ HDLCD_BUS_ERROR

#define HDLCD_BUS_ERROR   BIT1 /* DMA bus error */

Definition at line 42 of file HdLcd.h.

◆ HDLCD_DATA_HIGH

#define HDLCD_DATA_HIGH   BIT3

Definition at line 61 of file HdLcd.h.

◆ HDLCD_DATA_LOW

#define HDLCD_DATA_LOW   0

Definition at line 67 of file HdLcd.h.

◆ HDLCD_DATEN_HIGH

#define HDLCD_DATEN_HIGH   BIT2

Definition at line 60 of file HdLcd.h.

◆ HDLCD_DATEN_LOW

#define HDLCD_DATEN_LOW   0

Definition at line 66 of file HdLcd.h.

◆ HDLCD_DEFAULT_POLARITIES

#define HDLCD_DEFAULT_POLARITIES
Value:
(HDLCD_PXCLK_LOW | HDLCD_DATA_HIGH | \
HDLCD_DATEN_HIGH | HDLCD_HSYNC_LOW | \
HDLCD_VSYNC_HIGH)

Definition at line 71 of file HdLcd.h.

◆ HDLCD_DISABLE

#define HDLCD_DISABLE   0

Definition at line 47 of file HdLcd.h.

◆ HDLCD_DMA_END

#define HDLCD_DMA_END   BIT0 /* DMA has finished reading a frame */

Definition at line 41 of file HdLcd.h.

◆ HDLCD_ENABLE

#define HDLCD_ENABLE   BIT0

Definition at line 48 of file HdLcd.h.

◆ HDLCD_HSYNC_HIGH

#define HDLCD_HSYNC_HIGH   BIT1

Definition at line 59 of file HdLcd.h.

◆ HDLCD_HSYNC_LOW

#define HDLCD_HSYNC_LOW   0

Definition at line 65 of file HdLcd.h.

◆ HDLCD_LITTLE_ENDIAN

#define HDLCD_LITTLE_ENDIAN   (0 << 31)

Definition at line 76 of file HdLcd.h.

◆ HDLCD_PRODUCT_ID

#define HDLCD_PRODUCT_ID   0x1CDC

Definition at line 82 of file HdLcd.h.

◆ HDLCD_PXCLK_HIGH

#define HDLCD_PXCLK_HIGH   BIT4

Definition at line 62 of file HdLcd.h.

◆ HDLCD_PXCLK_LOW

#define HDLCD_PXCLK_LOW   0

Definition at line 68 of file HdLcd.h.

◆ HDLCD_REG_BLUE_SELECT

#define HDLCD_REG_BLUE_SELECT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x24C)

Definition at line 36 of file HdLcd.h.

◆ HDLCD_REG_BUS_OPTIONS

#define HDLCD_REG_BUS_OPTIONS   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x110)

Definition at line 22 of file HdLcd.h.

◆ HDLCD_REG_COMMAND

#define HDLCD_REG_COMMAND   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x230)

Definition at line 32 of file HdLcd.h.

◆ HDLCD_REG_FB_BASE

#define HDLCD_REG_FB_BASE   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x100)

Definition at line 18 of file HdLcd.h.

◆ HDLCD_REG_FB_LINE_COUNT

#define HDLCD_REG_FB_LINE_COUNT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x108)

Definition at line 20 of file HdLcd.h.

◆ HDLCD_REG_FB_LINE_LENGTH

#define HDLCD_REG_FB_LINE_LENGTH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x104)

Definition at line 19 of file HdLcd.h.

◆ HDLCD_REG_FB_LINE_PITCH

#define HDLCD_REG_FB_LINE_PITCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x10C)

Definition at line 21 of file HdLcd.h.

◆ HDLCD_REG_GREEN_SELECT

#define HDLCD_REG_GREEN_SELECT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x248)

Definition at line 35 of file HdLcd.h.

◆ HDLCD_REG_H_BACK_PORCH

#define HDLCD_REG_H_BACK_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x214)

Definition at line 28 of file HdLcd.h.

◆ HDLCD_REG_H_DATA

#define HDLCD_REG_H_DATA   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x218)

Definition at line 29 of file HdLcd.h.

◆ HDLCD_REG_H_FRONT_PORCH

#define HDLCD_REG_H_FRONT_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x21C)

Definition at line 30 of file HdLcd.h.

◆ HDLCD_REG_H_SYNC

#define HDLCD_REG_H_SYNC   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x210)

Definition at line 27 of file HdLcd.h.

◆ HDLCD_REG_INT_CLEAR

#define HDLCD_REG_INT_CLEAR   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x014)

Definition at line 15 of file HdLcd.h.

◆ HDLCD_REG_INT_MASK

#define HDLCD_REG_INT_MASK   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x018)

Definition at line 16 of file HdLcd.h.

◆ HDLCD_REG_INT_RAWSTAT

#define HDLCD_REG_INT_RAWSTAT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x010)

Definition at line 14 of file HdLcd.h.

◆ HDLCD_REG_INT_STATUS

#define HDLCD_REG_INT_STATUS   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x01C)

Definition at line 17 of file HdLcd.h.

◆ HDLCD_REG_PIXEL_FORMAT

#define HDLCD_REG_PIXEL_FORMAT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x240)

Definition at line 33 of file HdLcd.h.

◆ HDLCD_REG_POLARITIES

#define HDLCD_REG_POLARITIES   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x220)

Definition at line 31 of file HdLcd.h.

◆ HDLCD_REG_RED_SELECT

#define HDLCD_REG_RED_SELECT   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x244)

Definition at line 34 of file HdLcd.h.

◆ HDLCD_REG_V_BACK_PORCH

#define HDLCD_REG_V_BACK_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x204)

Definition at line 24 of file HdLcd.h.

◆ HDLCD_REG_V_DATA

#define HDLCD_REG_V_DATA   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x208)

Definition at line 25 of file HdLcd.h.

◆ HDLCD_REG_V_FRONT_PORCH

#define HDLCD_REG_V_FRONT_PORCH   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x20C)

Definition at line 26 of file HdLcd.h.

◆ HDLCD_REG_V_SYNC

#define HDLCD_REG_V_SYNC   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x200)

Definition at line 23 of file HdLcd.h.

◆ HDLCD_REG_VERSION

#define HDLCD_REG_VERSION   ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x000)

Definition at line 13 of file HdLcd.h.

◆ HDLCD_SYNC

#define HDLCD_SYNC   BIT2 /* Vertical sync */

Definition at line 43 of file HdLcd.h.

◆ HDLCD_UNDERRUN

#define HDLCD_UNDERRUN   BIT3 /* No Data available while DATAEN active */

Definition at line 44 of file HdLcd.h.

◆ HDLCD_VSYNC_HIGH

#define HDLCD_VSYNC_HIGH   BIT0

Definition at line 58 of file HdLcd.h.

◆ HDLCD_VSYNC_LOW

#define HDLCD_VSYNC_LOW   0

Definition at line 64 of file HdLcd.h.