
526$
&RQILJXUDWLRQ
Siemens AG Semiconductors
Version 5.2
Confidential
20/10/1998
38
5HJLVWHUV
The command status register is defined in chapter 3.2 table 3.
This register reflects the current FIFO fill level.
This register contains the last MultiMediaCard bus response.
This register contains the status of the MultiMediaCard status response interrupt sources.
%LW
7\SH
'HVFULSWLRQ
15:0
R
)LIR/HYHO
- FIFO fill level
This register shows how many bytes are currently in memory. It is incremented with
every write to memory and decremented with every read. It can be read with the
CAM_GET_FIFO_LEVEL command.
Default value is 0x0000.
7DEOH),)2ILOOOHYHOUHJLVWHU
%LW
7\SH
'HVFULSWLRQ
127:0
R
5HVSRQVH
- Last MultiMediaCard response.
This register is modified with every MultiMediaCard CMD that includes a response. It
contains the last response received from a MultiMediaCard read from the CMD line. This
register can be read by the CAM_GET_RESPONSE command. CID/CSD and short
responses are located MSB at position <127>. To read a short response the command
can be stopped after the fifth byte.
Default value is 0x00000000000000000000000000000000.
7DEOH5HVSRQVHUHJLVWHU
%LWV
7\SH
'HVFULSWLRQ
31:0
RC
00&6WDWXV
- MultiMediaCard status response
After this byte is read by the application it is cleared internally. In case of concurrent
accesses to any bit, it remains ‘1’. This register can be read by the
CAM_GET_CARD_STATUS command.
Default value is 0x00000000 (no error).
2XW2I5DQJH
- OUT_OF_RANGE
A ‘1’ indicates that the commands argument was out of the allowed range for this card.
$GGUHVV(UURU
- ADDRESS_ERROR
A ‘1’ indicates a misaligned address, which did not match the block length, was used in
the command.
%ORFN/HQ(UURU
- BLOCK_LEN_ERROR
A ‘1’ indicates the transferred block length is not allowed for this card or the number of
bytes transferred does not match the block length.
(UDVH6HT(UURU
- ERASE_SEQ_ERROR
A ‘1’ indicates that an error in the sequence of erase commands occurred.
31
30
29
28
7DEOH&DUG6WDWXVUHJLVWHU