![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_105.png)
20-10
Programmer’s Manual
20.12
CursorSetOrigin
Syntax
STATUS
CursorSetOrigin
(U16 xPos U16 yPos)
Description
Sets the LCD display screen origin to (xPos yPos).
Parameter
Return Value
Hint
This must be used with LCDScreenMove().
20.13
CursorSetPos
Syntax
STATUS
CursorSetPos
(U16 xPos U16 yPos)
Description
Sets the top left corner position of the hardware cursor to be at (xPos yPos)
PPSM_ERR_CURSOR_INIT
No more memory to create the hardware
cursor information record
PPSM_ERROR
Error if the frequency cannot be set
Name
Description
xPos
X coordinate of the display origin
yPos
Y coordinate of the display origin
Name
Description
PPSM_ERR_PAN_INIT
Current task has no panning screen
PPSM_ERR_LCD_X
Invalid x-coordinate
PPSM_ERR_LCD_Y
Invalid y-coordinate
PPSM_OK
Successful operation
Name
Description
Personal Portable System Manager
Programmer’s Manual
Graphics ToGraphics Tools
20-7
20.7
CursorGetStatus
STATUS
CursorGetStatus
Description
Returns the status of the hardware cursor of the current task.
Parameter
Return Value
20.8
CursorInit
Syntax
STATUS
CursorInit
(U16
Description
Changes hardware cursor size to be of width
cursorHeight The width and height must be less than 31 pixels.
Parameter
Name
Description
status
Name
Description
PPSM_ERR_CURSOR_INIT
Error if cursor is never set or CursorOff() is
just called.
PPSM_OK
Successful operation
Name
Description
cursorWidth
cursorHeight
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.