33-16
Device Drivers
Programmer’s Manual
Return Value
Note:
The driver function mentioned above is default to perform no
operation.
33.8.4
Disabling I/O ports when going to sleep mode
Syntax
void
PortSleepDisable
(void)
Description
Just before PPSM goes into sleep mode, it will call this routine to disable any
in the code to disable the I/O ports in this routine.
Return Value
Note:
The driver function mentioned above is default to perform no
operation.
Name
Description
None
Name
Description
None
Personal Portable System Manager
Programmer’s Manual
Device Drivers
33-13
routine provided by the font generation engine.
Since PPSM does not include a specific font generation engine, this driver
function is default to perform no operation.
33.6.3
Font Accessing
Syntax
P_U8
FontGetCharAddr
Description
This function returns the font bitmap of a character based on the given font
attributes and character code.
Please refer to Section 8.4.3 - Setting Font Attributes for the explanation of the
FONTATTR data structure.
Font lookup or generation algorithms are assumed to be provided by the font
supplier. This driver function should call the lookup method for the
corresponding font type, to get the font bitmap of the character described by
the font attributes.
Since PPSM includes 8 x 10 and 16 x 20 ASCII English fonts, the lookup
method for mapping ASCII codes to English bitmap fonts are provided. The
font types that use this method are:
SMALL_NORMAL_FONT
SMALL_ITALIC_FONT
LARGE_NORMAL_FONT
LARGE_ITALIC_FONT
Parameter
Return Value
Name
Description
pFont
code
Name
Description
N/A
pointer to the bitmap of the character
specified by the given character code (the
bitmap is represented by unsigned 8-bit
values
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.