16-2
InterruptUsing System Tools
Programmer’s Manual
16.1.1
Motorola Logo
Depending on the physical LCD size, an appropriate Motorola logo is displayeAssuming that an application has already given access to an IRQ6 handler by
the LCD display during pen calibration stage.
For LCD display that is larger than 280 pixels wide by 150 pixels high, the
standard logo will be displayed. This logo is 256 pixels wide by 97 pixels high,
Figure 16-2.
For LCD display that is larger than 150 pixels wide by 80 pixels high, but smaller
than 280 pixels by 150 pixels, a smaller Motorola logo will be used. This smaller
Motorola logo will be 104 pixels by 25 pixels, Figure 16-3
For LCD display that is smaller than 150 pixels wide by 80 pixels high, no
Motorola logo will be drawn.
Figure 16-2 Standard Motorola logo
Personal Portable System Manager
Software Licensed
by Motorola Semiconductor H.K. Ltd.
1995-1999 Motorola Inc.
Figure 16-3 Small Motorola logo
Personal Portable System Manager
Programmer’s Manual
15-9
15.3.1
Example
PPSM, when the user defined IRQ6 handler calls IrptSendData(), the data are
sent to the application immediately.
shortMessage = COMMAND_EVENT;
messageSize = 4;
messageData = pInData;
IrptSendData( IRPT_IRQ6, shortMessage, &messageData, messageSize);
The application retrieve the message via the IrptGetdata() call.
switch (IrptGetData( &event, &InData, &InSize))
.
.
.
case IRPT_IRQ6:
/* IRQ6 event has occurred */
if (event == COMMAND_EVENT)
.
.
.
default;
In the above example, the following data are passed from the IRQ6 handler to the
application:
Table 15-7 Data Passed from Handler to Application
IrptSendData
IrptGetData
Argument
Data
Argument
Data
irptType
IRPT_IRQ6
return value
IRPT_IRQ6
sData
shortMessage
sData
event
data
messageData
data
InData
size
messageSize
size
InSize
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.