iv
Programmer’s Manual
6.20
Draw a Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-22
6.21
Draw a Rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-23
6.22
Draw a Circle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-25
6.23
Draw an Ellipse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26
6.24
Draw an Arc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-27
6.25
Draw a Vector from a List of Points . . . . . . . . . . . . . . . . . . . . . . . . . 6-30
6.26
Put a Rectangular Area on Panning Screen . . . . . . . . . . . . . . . . . . 6-30
Special cases of PutRec() . . . . . . . . . . . . . . . . . . . . .8.6
Save a Rectangular Area from Panning Screen . . . . . . . . . . . . . . . 6-33
6.27
6.28
Exchange a Rectangular area with memory . . . . . . . . . . . . . . . . . . 6-33
6.29
Fill a Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-34
6.30
Inverse a Rectangular Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-34
6.31
Hardware Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35
Set Hardware Cursor Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35
Set Hardware Cursor Position . . . . . . . . . . . . . . . . . .9.3
Set Hardware Cursor Status . . . . . . . . . . . . . . . . . . . .9.4
Get Hardware Cursor Status . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-36
Set Hardware Cursor Blinking Frequency . . . . . . . . .9.5
Turn Hardware Cursor Off . . . . . . . . . . . . . . . . . . . . .9.6
Display Other Region of Panning Screen . . . . . . . . . . . . .9.7
6.32
6.33
Get LCD Display Origin on Panning Screen . . . . . . . . . .9.8
6.34
Allocate memory for Panning Screen . . . . . . . . . . . . . . . .9.9
Chapter 7
Database Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7-1
7.1
Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Formatted Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1
Unformatted Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
The Database Manipulation Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
7.2
7.3
Creating and Editing a Database . . . . . . . . . . . . . . . . . . .10.1
7.4
Searching and Retrieving Data . . . . . . . . . . . . . . . . . . . .10.2
7.5
Navigating along a Record List . . . . . . . . . . . . . . . . . . . .10.3
Chapter 8
Text Display Management . . . . . . . . . . . . . . . . . . . . . . . . . . .8-1
8.1
Text Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.2
Text Display Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1
8.3
Text Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11.1
PDA Personal Portable System Manager
Programmer’s Manual
Table of CTable of Contents
v
Creating text templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-2
Deleting text templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
Text Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
Setting Text Display Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
Setting Text Outlook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-3
Setting Font Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-4
Text Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-7
Displaying text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-7
Removing text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8-7
Setting the character cursor position . . . . . . . . . . . . . . . . . . . . . .8-8
Reading the character cursor position . . . . . . . . . . . . . . . . . . . . .8-8
8.4
8.5
Chapter 9
Timer Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1
9.1
Reading System Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-1
9.2
Setting System Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-1
Reading Clock Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-1
Setting Clock Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-2
Clearing Clock Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-2
Setting Periodic Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-2
Setting Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-3
Setting Input Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-3
Continuous Reference Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-4
9.10
Read The Reference Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-4
9.11
Set Reference Timer Alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9-4
9.12
Compute Reference Times Differences . . . . . . . . . . . . . . . . . . . . . . .9-4
Allocating Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-1
Freeing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-1
Reallocating Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-2
10.4
Copying Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10-2
Power Control Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11-1
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.