ST7628
9.1.31 MADCTR: Memory Data Access Control (36h)
Command
A0
0
/RD /WR
D7
0
D6
0
D5
1
D4
1
D3
0
D2
1
D1
1
D0
0
Hex
(36h)
-
1
1
0
0
MADCTR
1
MY
MX
MV
ML
RGB
-
-
-
Parameter
NOTE: “-“ Don’t care
Description
This command defines read/write scanning direction of frame memory.
This command makes no change on the other driver status.
Note: ML affects to Partial Area (30h), Vertical Scrolling Definition (33h), Vertical Scrolling Start
address (37h), Partial On (12h) commands
Bit Assignment
Bit
NAME
DESCRIPTION
MY
MX
MV
ML
ROW ADDRESS ORDER
COLUMN ADDRESS ORDER
ROW/COLUMN ORDER
LINE ADDRESS ORDER
RGB-BGR ORDER
These 3bits controls MCU to memory write/read direction.
(See Section 7.3.2 “MCU to memory write/read direction”)
LCD refresh direction control
RGB
Color selector switch control
0=RGB color filter panel, 1=BGR color filter panel)
The contents of the frame memory are not changed.
Restriction
Register
D2, D1 and D0 of the 1st parameter are set to ‘000’internally.
Status
Availability
Yes
Availability
Normal Mode On, Idle Mode Off, Sleep Out
Ver 1.4
130/213
2008/08