![](http://datasheet.mmic.net.cn/260000/PPSMMANUAL_datasheet_15946768/PPSMMANUAL_13.png)
2-2
IntrPPSM System Overview
Programmer’s Manual
2.2
Error Handling
Unless otherwise specified, all PPSM tools return PPSM_OK upon successful
completion. A value other than PPSM_OK is the error code, indicating an error
has occurred.
Each error code uniquely defines the cause and nature of the error.
Refer to Appendix A - Error Code Definitionfor a complete error code listing.
2.3
I/O Devices
This section describes the LCD display screen and the touch sensitive panel.
Figure 2-2 shows the screen format for the PPSM system. There are three major
areas:
Pen Input Area
Display Screen
Panning Screen
Figure 2-2 An example of PPSM coordinate system
(0,0)
LCD Panel
(319,239)
(379,259)
(-59,-29)
(379,-29)
(-59,259)
(0,239)
(319,0)
LCD Origin
(xInputOrigin, yInputOrigin)
- ve
- ve
+ ve
+ ve
Touch Panel
(xInputMax, yInputMax)
(xLCDMax, yLCDMax)
Personal Portable System Manager
Programmer’s Manual
1-3
High Level API Toolsets
Multiple grey levels and software configurable LCD display support
LCD hardware cursor and panning support
1.3
Software Development Environment
ANSI C is the main programming language, with M68K assembly language for
implementation of low level routines, such as interrupt, trap vector initialization
and hardware device driver. The development environment is on IBM-compatible
PC running under Windows 3.1 and Windows 95 with SingleStep Compiler/
Debugger, from Software Development Systems, Inc. SingleStep provides source
level and instruction debugging on the hardware target machine, as well as a
simulator running on the host PC.
1.4
Hardware Development Environment
The M68328 and M68EZ328 Application Development System (ADS) is used as
the reference development platform throughout this manual. The A/D convertor
used is a 10-bit component, giving a resolution of 1024 in X and 1024 in Y
direction.
For details on the hardware configuration, please refer to M68328 ADS User’s
Manual V2.0 and M68EZ328 ADS User’s Manual V1.1.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.