Renesas H8SX Computer Monitor User Manual


 
Direct Drive LCD Design Guide
4.1.7 LCDSetActiveRaster
Set memory frame to display.
Format
uI16 * LCDSetActiveRaster(uI16 frame);
Parameters
frame
Requested frame buffer index.
Return Values
Pointer to first pixel of frame raster.
Properties
Prototyped in file ”DirectLCD.h”
Implemented in file “DirectLCD_SBF.c” for H8S family or “DirectLCD_XBCFT.c” for H8SX family.
Description
Request the current vertical refresh rate of the LCD panel.
Note that LCDSetActiveRaster, LCDSetRasterOffset and LCDSetLineSource are similar in function and
interact.
Example
uI16 frame_request;
uI16* select_buffer;
……
frame_request = 1; /* Select frame 1 to display */
select_buffer = LCDSetActiveRaster(frame_request); /* switch buffer */
20