29.11.2014 Views

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

Fast Models Reference Manual - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Peripheral and Interface Components<br />

For data transfer in the controller to card direction, the behaviors are:<br />

Tx<br />

Tx_done<br />

After the host and controller have initiated a write through the command<br />

interface, the card calls the Tx behavior on the controller. The call provides a<br />

pointer to an empty buffer to be written, and a length. The <strong>ARM</strong> MMC reference<br />

model simulates device write latency by waiting a number of clock cycles prior<br />

to each buffer being offered.<br />

The controller calls this behavior on the card when the block has been written.<br />

The card model can then commit the data to its persistent storage.<br />

The card model must also implement:<br />

cmd_name<br />

This behavior returns the name of the command issued. A card must implement<br />

this behavior, but is free to return an empty string for all requests. Only call this<br />

behavior for diagnostic messages.<br />

Parameters<br />

The PL180_MCI component has no parameters.<br />

Registers<br />

Table 5-62 provides a description of the configuration registers for the PL180_MCI component.<br />

Table 5-62 PL180_MCI registers<br />

Register name Offset Access Description<br />

MCIPower 0x000 read/write Power control register<br />

MCIClock 0x004 read/write Clock control register<br />

MCIArgument 0x008 read/write Argument register<br />

MCICommand 0x00C read/write Command register<br />

MCIRespCmd 0x010 read only Response command register<br />

MCIResponse0 0x014 read only Response register<br />

MCIResponse1 0x018 read only response registerR<br />

MCIResponse2 0x01C read only Response register<br />

MCIResponse3 0x020 read only Response register<br />

MCIDataTimer 0x024 read/write Data timer<br />

MCIDataLength 0x028 read/write Data length register<br />

MCIDataCtrl 0x02C read/write Data control register<br />

MCIDataCnt 0x030 read only Data counter<br />

MCIStatus 0x034 read only Status register<br />

MCIClear 0x038 write only Clear register<br />

MCIMask0 0x03C read/write Interrupt 0 mask register<br />

MCIMask1 0x040 read/write Interrupt 1 mask register<br />

<strong>ARM</strong> DUI 0423J Copyright © 2008-2011 <strong>ARM</strong>. All rights reserved. 5-78<br />

ID051811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!