Samsung S5PC100 User Manual page 532

Table of Contents

Advertisement

S5PC100 USER'S MANUAL (REV1.0)
5.2.9 ATA Command Register (ATA_COMMAND, R/W, Address = 0xE780_1908)
ATA_COMMAND
Reserved
xfr_command
If CPU wants to pause data transfer use STOP command. Issue a CONTINUE command to send data
continuously.
The STOP command controls the ATA Device side signal but does not control DMA side. Namely, if the FIFO has
data after STOP command, DMA operation progresses until the FIFO becomes empty at read operation. In case
of write operation, the DMA acts the same way until the FIFO becomes full.
Use the ABORT command if the transmitting data has proven useless data or discontinues absurd state by error
interrupt from device.
At that time, it clears all data in ATA Host controller (register, FIFO) and the transmission state machine goes to
IDLE.
The Software Reset's meaning becomes clear all registers even though the ABORT command had been executed
before doing configuration register set for next transmission. It is not mandatory.
Bit
[31:2]
Reserved
ATA transfer command
Four command types (START, STOP, ABORT and
CONTINUE) are supported for data transfer control. The
"START" command starts data transfer. The "STOP"
command pause transfer temporarily. The "CONTINUE"
command is used after "STOP" command or internal
state of "pause" if track buffer is full or UDMA hold state.
The "ABORT" command terminates current data transfer
sequences and make ATA host controller move to idle
[1:0]
state.
00 = Stop command
01 = Start command (Available in idle state)
10 = Abort command
11 = Continue command (Available in transfer pause)
** After CPU ABORT commands, make a software reset
by ATA_SWRST to clear the leftover values of internal
registers.
Description
CF CONTROLLER
R/W
Reset Value
R
0x0
R/W
0x0
5.5-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents