Datasheet

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