MOTOROLA
PROGRAMMING REFERENCE
MMC2001
C-16
REFERENCE MANUAL
* Since pins default to inputs, reset value is determined by the logic level present on the pins at reset.
Figure C-20 Keypad Data Register
KCDx — Keypad Column x Data Bit
KRDx — Keypad Row x Data Bit
This register is not initialized by reset. Valid data should be written to this register
before any bits are configured as outputs.
C.5 EIM Programming Model
Table C-5 lists the registers in the EIM.
C.5.1 Chip-Select Control Registers
Each of the external chip selects has an enable bit as well as other control attributes.
The layout of the control register is slightly different for the CS0 output, which does
not support the programmable output function. For CS1–CS3 control registers, bits
two to 15 (i.e., bits other than the PA and CSEN bits) are undefined at reset.
Access these registers with 32-bit loads and stores only.
KPDR — Keypad Data Register
10003006
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
KCD7
KCD6
KCD5
KCD4
KCD3
KCD2
KCD1
KCD0
KRD7
KRD6
KRD5
KRD4
KRD3
KRD2
KRD1
KRD0
W
RESET:
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
Table C-5 EIM Address Map
Address
Use
Access
10004000
CS0 Control Register (CS0CR)
Supervisor Only
10004004
CS1 Control Register (CS1CR)
Supervisor Only
10004008
CS2 Control Register (CS2CR)
Supervisor Only
1000400C
CS3 Control Register (CS3CR)
Supervisor Only
10004010
to
10004014
Reserved
Supervisor Only
10004018
EIM Configuration Register (EIMCR)
Supervisor Only
10004020
to
10004FFF
Reserved
Supervisor Only
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..