English
Language : 

SH7763 Datasheet, PDF (1705/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 37 LCD Controller (LCDC)
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 37.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.
The point that corresponds to LDSARU moves from the upper left to the lower left of the display,
so LDSARU should be changed to 0x0c001000 + 256 * 319.
Rev. 1.00 Oct. 01, 2007 Page 1639 of 1956
REJ09B0256-0100