
xviii
Programmer’s Manual
PDA Personal Portable System Manager
Programmer’s Manual
Table of Contents
xv
Guide
Chapter 33
How to make ROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32-1
33.1
Boot Strap Code (boot.s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-1
68K Start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-1
Chip Selects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-3
Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-3
Linker Supplications File for ROM . . . . . . . . . . . . . . . . . . . . . . . . . .32-3
33.2
33.3
Generating S-Record File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-4
Loader Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-4
Loader Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32-5
Chapter 34
Device Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33-1
34.1
System Configuration Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-1
Boot Strap Driver (boot.s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-1
User Interrupt Handler Installation Driver (irptdev.c) . . . . . . . . .33-1
Pen Input Device Driver (pendev.c) . . . . . . . . . . . . . . . . . . . . . . . . .33-3
Pen Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-4
Pen Interrupt Enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-5
Pen Interrupt Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-6
Pen Read Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-7
Pen Calibration(PenInit.c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-8
34.2
34.3
34.4
LCD Device Drivers (lcddev.s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-8
1 bit/pixel Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-8
2 bits/pixel Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-9
Handwriting Recognition Engine Driver (hwr.c) . . . . . . . . . . . . . . . .33-9
Handwriting Recognition Engine Reset . . . . . . . . . . . . . . . . . . .33-9
Handwriting Recognition Engine Initialization . . . . . . . . . . . . . .33-10
Process One Stroke of Handwriting Input Data . . . . . . . . . . . .33-10
Initiate Character Recognition for the Handwriting Input . . . . .33-11
Font Driver (font.c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-11
Font Library Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-12
Font Library or Font Generation Engine Initialization . . . . . . . .33-12
Font Accessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33-13
UART Device Driver (uartdev.c) . . . . . . . . . . . . . . . . . . . . . . . . . . .33-14
Sending the BREAK Character . . . . . . . . . . . . . . . . . . . . . . . . .33-14
Power Management Driver (iodev.c) . . . . . . . . . . . . . . . . . . . . . . .33-14
Enabling I/O ports when leaving from doze mode . . . . . . . . . .33-15
Disabling I/O ports when going to doze mode . . . . . . . . . . . . .33-15
Enabling I/O ports when leaving from sleep mode . . . . . . . . . .33-15
34.5
34.6
34.7
34.8
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.