ST7735
10.1.6 RDDMADCTL (0Bh): Read Display MADCTL
0BH
RDDMADCTL (Read Display MADCTL)
Inst / Para
D/CX
WRX
RDX
D17-8 D7
D6
0
D5
0
D4
0
D3
D2
0
D1
1
D0
1
HEX
(0Bh)
-
RDDMADCTL
1st parameter
2nd parameter
0
1
1
↑
1
1
1
↑
↑
-
-
0
1
-
-
-
-
-
-
-
-
MY
MX
MV
ML
RGB
MH
D1
D0
This command indicates the current status of the display as described in the table below:
“-“ Don’t care
Bit
Description
Value
‘1’ = Right to Left (When MADCTL B6=’1’)
‘0’ = Left to Right (When MADCTL B6=’0’)
‘1’ = Bottom to Top (When MADCTL B7=’1’)
‘0’ = Top to Bottom (When MADCTL B7=’0’)
‘1’ = Row/column exchange (MV=1)
‘0’ = Normal (MV=0)
MX
Column Address Order
MY
MV
Row Address Order
Row/Column Order (MV)
Description
‘1’ =LCD Refresh Bottom to Top
‘0’ =LCD Refresh Top to Bottom
‘1’ =BGR, “0”=RGB
ML
Vertical Refresh Order
RGB/BGR Order
RGB
LCD horizontal refresh direction control
‘0’ = LCD horizontal refresh Left to right
‘1’ = LCD horizontal refresh right to left
‘0’
MH
Horizontal Refresh Order
D1
D0
Not Used
Not Used
‘0’
Status
Default Value (D7 to D0)
0000_0000 (00h)
No change
Power On Sequence
S/W Reset
Default
H/W Reset
0000_0000 (00h)
Flow Chart
V1.7
85
2009-12-04