English
Language : 

SH7720 Datasheet, PDF (978/1524 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 26 LCD Controller (LCDC)
2. The register settings for the address of the image data must be changed (LDSARU and
LDLAOR).
3. LDLAOR should be power of 2 (when the horizontal width after rotation is 240 pixels,
LDLAOR should be set to 256).
4. Graphics software should be set up for the number 3 setting.
5. LDSARU should be changed to represent the address of the data for the lower-left pixel of the
image rather than of the data for the upper-left pixel of the image.
1) Normal mode
Picture image
LDSARU (start point) LDSARU + LDLAOR − 1
LCD panel
Picture image
Start point
Scanning starts from LDSARU.
Scanning is done from small address
to large address of X coordination.
LDSARU + LDLAOR × LDVDLNR − 1(end point)
Picture image
End point
Figure 26.8 Operation for Hardware Rotation (Normal Mode)
For example, the registers have been set up for the display of image data in landscape format (320
× 240), which starts from LDSARU = 0x0c001000, on a 320 × 240 LCD panel. The graphics
driver software is complete. Some changes are required to apply hardware rotation and use the
panel as a 240 × 320 display. If LDLAOR is 512, the graphics driver software uses this power of 2
as the offset for the calculation of the addresses of Y coordinates in the image data. Before setting
ROT to 1, the image data must be redrawn to suit the 240 × 320 LCD panel. LDLAOR will then
be 256 because the size has changed and the graphics driver software must be altered accordingly.
Rev. 3.00 Jan. 18, 2008 Page 916 of 1458
REJ09B0033-0300