Display_Lib_RPI 2.4.0
A C++ Library to connect electronic displays to Linux single board computers.
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
GC9A01_TFT::MADCTL_FLAGS_t Struct Reference

MADCTL bit flags for register GC9A01_MADCTL (0x36). More...

Static Public Attributes

static constexpr uint8_t MY = 0x80
 
static constexpr uint8_t MX = 0x40
 
static constexpr uint8_t MV = 0x20
 
static constexpr uint8_t ML = 0x10
 
static constexpr uint8_t RGB = 0x00
 
static constexpr uint8_t BGR = 0x08
 
static constexpr uint8_t MH = 0x04
 

Detailed Description

MADCTL bit flags for register GC9A01_MADCTL (0x36).

Member Data Documentation

◆ BGR

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::BGR = 0x08
staticconstexpr

BGR color order

◆ MH

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::MH = 0x04
staticconstexpr

Horizontal Refresh Order: right to left

◆ ML

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::ML = 0x10
staticconstexpr

Vertical Refresh Order: bottom to top

◆ MV

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::MV = 0x20
staticconstexpr

Row/Column Exchange (Transpose)

◆ MX

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::MX = 0x40
staticconstexpr

Column Address Order: right to left

◆ MY

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::MY = 0x80
staticconstexpr

Row Address Order: bottom to top

◆ RGB

constexpr uint8_t GC9A01_TFT::MADCTL_FLAGS_t::RGB = 0x00
staticconstexpr

RGB color order


The documentation for this struct was generated from the following file: