
MMC2001DDRM/D
MOTOROLA
Reference Manual
iii
Table of Contents
Section 1 Introduction
1.1
1.2
1.2.1
1.2.2
1.3
1.3.1
1.3.2
1.4
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Service Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Level 1 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Level 2 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Interrupt Integration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Interrupt Service Entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Interrupt Status Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . 19
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Section 2 Glossary
2.1
Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Section 3 Using the Device Driver Library
3.1
3.2
3.3
3.4
3.5
3.6
3.7
Library and Interface Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Library Macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Error Checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Memory-Mapped Peripheral Device Blocks . . . . . . . . . . . . . . . . . . . . 28
Direct Register Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Usage Tutorial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Standard Data Type Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Section 4 EdgePort_A Level 1
4.1
4.2
4.3
4.3.1
4.3.2
4.4
4.4.1
4.4.2
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
EdgePort_A Level 1 Device Driver Functions. . . . . . . . . . . . . . . . . . . 35
Data Type Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Abstract Data Type Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Enumerated Data Type Definitions. . . . . . . . . . . . . . . . . . . . . . . . . 36
API Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
EdgePort_A_GetRegister. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
EdgePort_A_SetRegister . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Section 5 EIM_A Level 1
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.