20-30
Programmer’s Manual
Return Value
20.37
SaveRec
Syntax
STATUS
SaveRec
(P_U8 bitmap U16 xSrc U16 ySrc U16 width U16 height
U16 reserved)
Description
Saves a rectangular bitmap image from the specified location on the panning
screen to memory.
Parameter
Return Value
reserved
Reserved for future use
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_LCD_X
Invalid x-coordinate
PPSM_ERR_LCD_Y
Invalid y-coordinate
PPSM_ERR_WIDTH
Invalid width
PPSM_ERR_HEIGHT
Invalid height
PPSM_ERR_LCD_STYLE
Invalid style
Name
Description
bitmap
Pointer to address where bitmap image is
to be saved
xSrc
Top left x-coordinate of the rectangular
image area
ySrc
Top left y-coordinate of the rectangular
image area
width
Width of the image in pixels
height
Height of the image in pixels
reserved
Reserved for future use
Name
Description
PPSM_OK
Successful operation
Name
Description
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-27
20.33
LCDRefreshRate
Syntax
STATUS
LCDRefreshRate(
Description
This tool will set the LCD refresh rate to
second. As the frame rate will be limited by Pixel Clock Divider Register,
Refresh Rate Adjustment Register, Screen Width Register, Screen Height
Register and PLL Control Register, PPSM will only set the refresh rate to the
closest possible value. If
refreshRateSetwill be the previous refresh rate. If user wants to know whether
the calling of LCDRefreshRate() is successful, LCDRefreshRate() can be
called once more to get the current actual refresh rate returned by
refreshRateSet
number of frames per
Parameter
Return Value
20.34
LCDScreenMove
STATUS
LCDScreenMove
Description
This function is replaced by DisplayMove().
Maps the LCD display screen origin to (
panning screen with top left corner (
screen.
). The rectangular portion of the
) will be displayed on the LCD display
It is assumed that (x
Name
Description
refreshRate
refreshRateSet
Name
Description
PPSM_OK
Successful operation
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.