Ata Drive Registers—Mbar + 0X3A00; Ata Drive Device Control Register—Mbar + 0X3A5C - Freescale Semiconductor MPC5200B User Manual

Freescale semiconductor board users guide
Table of Contents

Advertisement

ATA Register Interface
Bits
Name
0:19
20:31
WritePtr
11.3.3
ATA Drive Registers—MBAR + 0x3A00
The ATA drive registers are physically located inside the drive controller on the ATA disk drive. The MPC5200B ATA Host Controller
provides access to these registers using the chip selects and address bits.
ATA Drive is controlled by 32-bit registers. These registers are located at an offset from MBAR of 0x3a00. Register addresses are relative to
this offset. Therefore, the actual register address is:
Hyperlinks to the ATA Drive registers are provided below:
ATA Drive Device Control Register
ATA Drive Alternate Status Register
ATA Drive Data Register
ATA Drive Features Register
ATA Drive Error Register
ATA Drive Sector Count Register
11.3.3.1
ATA Drive Device Control Register—MBAR + 0x3A5C
msb 0
1
R
Reserved
W
RESET:
0
0
16
17
R
W
RESET:
0
0
Bits
Name
0:4
5
SRST
6
nIEN
7:31
11-12
Reserved
Value is maintained by FIFO hardware and is NOT normally written. It can be adjusted in
special cases, but this disrupts data flow integrity. Value represents the Read address
presented to the FIFO RAM.
MBAR + 0x3A00 + register address
(0x3A5C), write-only
(0x3A5C), read-only
(0x3A60), R/W
(0x3A64), write-only
(0x3A64), read-only
(0x3A68), R/W
Table 11-19. ATA Drive Device Control Register
2
3
4
5
6
SRST nIEN
0
0
0
0
0
18
19
20
21
22
0
0
0
0
0
Reserved
Software Reset—Host controlled software reset bit. Drive executes software reset protocol
when bit is set to 1 by host.
Interrupt Enable—Host controlled interrupt enable. INTRQ is enabled when this bit is cleared
to 0.
Note: NOTE: For MPC5200B ATA Host Controller, enabling INTRQ is mandatory for
DMA/UDMA data transfer modes.
Reserved
MPC5200B Users Guide, Rev. 1
Description
ATA Drive Sector Number Register
ATA Drive Cylinder Low Register
ATA Drive Cylinder High Register
ATA Drive Device/Head Register
ATA Drive Device Command Register
write-only
ATA Drive Device Status
7
8
9
10
11
Reserved
0
0
0
0
23
24
25
26
27
Reserved
0
0
0
0
Description
(0x3A6C), R/W
(0x3A70), R/W
(0x3A74), R/W
(0x3A78), R/W
(0x3A7C),
Register,
(0x3A7C)
read-only
15
12
13
14
0
0
0
0
0
28
29
30
31 lsb
0
0
0
0
0
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents