Skip to main content

Enum TftSpiBase.Register

Display registers

Assembly: TftSpi.dll
View Source
Declaration
protected enum TftSpiBase.Register : byte

Fields

NO_OP

NO_OP

View Source
Declaration
NO_OP = 0

SWRESET

Software reset

View Source
Declaration
SWRESET = 1

SLPOUT

Exit sleep

View Source
Declaration
SLPOUT = 17

PTLON

Partial mode on

View Source
Declaration
PTLON = 18

NORON

Normal display

View Source
Declaration
NORON = 19

INVOFF

Invert display off

View Source
Declaration
INVOFF = 32

INVON

Invert display on

View Source
Declaration
INVON = 33

DISOFF

Display off

View Source
Declaration
DISOFF = 40

DISPON

Display on

View Source
Declaration
DISPON = 41

MADCTL

Memory access control

View Source
Declaration
MADCTL = 54

MADCTL_MY

MADCTL_MY

View Source
Declaration
MADCTL_MY = 128

MADCTL_MX

MADCTL_MX

View Source
Declaration
MADCTL_MX = 64

MADCTL_MV

MADCTL_MV

View Source
Declaration
MADCTL_MV = 32

MADCTL_ML

MADCTL_ML

View Source
Declaration
MADCTL_ML = 16

MADCTL_RGB

MADCTL_RGB

View Source
Declaration
MADCTL_RGB = 0

MADCTL_BGR

MADCTL_BGR

View Source
Declaration
MADCTL_BGR = 8

MADCTL_MH

MADCTL_MH

View Source
Declaration
MADCTL_MH = 4

MADCTL_SS

MADCTL_SS

View Source
Declaration
MADCTL_SS = 2

MADCTL_GS

MADCTL_GS

View Source
Declaration
MADCTL_GS = 1

COLOR_MODE

COLOR_MODE

View Source
Declaration
COLOR_MODE = 58

FRMCTR1

Frame rate control (for some displays)

View Source
Declaration
FRMCTR1 = 177