![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_93.png)
18-10
Programmer’s Manual
Return Value
18.14
IconScanOn
Syntax
void
IconScanOn
(void)
Description
Switches on system application icon scanning for the current task. This is on
by default.
Parameter
Return Value
18.15
PenCalibration
Syntax
STATUS
PenCalibration
(U16 logoFlag)
Description
This function performs pen calibration routine. It calls CalibratePenSyntax
peninit.c of the device driver library) to calibrate the touch panel. User may use
different calibration method by changing CalibratePen() in peninit.c. The
default driver will clear the screen and wait for pen data until 2 valid points for
pen calibration are captured.
Parameter
Name
Description
None
Name
Description
None
Name
Description
None
Name
Description
logoFlag
TRUE - Put a Motorola logo on screen
FALSE - No Motorola logo will be put.
Personal Portable System Manager
Programmer’s Manual
Pen Input TPen Input Tools
18-7
18.10
ActiveAreaPosition
Syntax
STATUS
ActiveAreaPosition
S16 yDest
,
Description
This function will change the position and the size of the active area specified
by areaId
Parameter
Return Value
18.11
CtrlIconDisable
STATUS
CtrlIconDisable
Description
Removes a predefined icon area from an application. The argument
must be a valid active area identifier supplied by PPSM.
Name
Description
areaId
Existing valid active area id.
xSrc
Top left corner x coordinate
ySrc
Top left corner y coordinate
xDest
Bottom right x coordinate
yDest
Bottom right y coordinate
Name
Description
PPSM_OK
Successful operation
PPSM_ERR_AREA_ID
Error if area id is invalid
PPSM_ERR_COORDINATE
Error if any point is outside touch panel or
the active area lies in the boundary
between LCD area and touch panel only
area.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.