MOTOROLA
MMC2001
x
REFERENCE MANUAL
TABLE OF CONTENTS
Paragraph
Title
Page
12.4
ISPI Programming Model ............................................................................... 12-4
12.4.1
ISPI Data Register....................................................................................... 12-5
12.4.2
ISPI Control Register................................................................................... 12-5
12.4.3
ISPI Interval Control Register...................................................................... 12-8
12.4.4
ISPI Status Register .................................................................................... 12-8
12.5
ISPI Programming Examples ......................................................................... 12-9
12.5.1
Manual Mode Example................................................................................ 12-9
12.5.2
Slave Mode Example ................................................................................ 12-10
12.5.3
Interval Model Example ............................................................................. 12-10
12.6
ISPI Operation in Low-Power System Modes .............................................. 12-11
12.7
ISPI Operation in System Debug Mode ....................................................... 12-11
SECTION 13
EXTERNAL INTERRUPTS/GPIO (EDGE PORT)
13.1
Overview ........................................................................................................ 13-1
13.2
Interrupt/General-Purpose I/O Pin Descriptions (INT[0:7]) ............................ 13-1
13.3
Edge Port Programming Model...................................................................... 13-2
13.3.1
Edge Port Pin Assignment Register (EPPAR) ............................................ 13-2
13.3.2
Edge Port Data Direction Register (EPDDR) .............................................. 13-3
13.3.3
Edge Port Data Register (EPDR) ................................................................ 13-3
13.3.4
Edge Port Flag Register (EPFR) ................................................................. 13-4
SECTION 14
KEYPAD PORT
14.1
Overview ........................................................................................................ 14-1
14.2
KPP Pin Description....................................................................................... 14-2
14.2.1
Input Pins .................................................................................................... 14-2
14.2.2
Output Pins.................................................................................................. 14-2
14.3
KPP Programming Model............................................................................... 14-2
14.3.1
Keypad Control Register (KPCR) ................................................................ 14-2
14.3.2
Keypad Status Register (KPSR) ................................................................. 14-3
14.3.3
Keypad Data Direction Register (KDDR) .................................................... 14-5
14.3.4
Keypad Data Register (KPDR) .................................................................... 14-5
14.4
Keypad Operation .......................................................................................... 14-6
14.4.1
Keypad Matrix Construction ........................................................................ 14-6
14.4.2
Keypad Port Configuration .......................................................................... 14-6
14.4.3
Keypad Matrix Scanning ............................................................................. 14-6
14.4.4
Keypad Standby ......................................................................................... 14-7
14.4.5
Glitch Suppression on Keypad Inputs ......................................................... 14-7
14.4.6
Multiple Key Closures.................................................................................. 14-8
14.4.7
Typical Keypad Configuration and Scanning Sequence ............................. 14-9
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..