Atmel Evaluation Kit AT91SAM9M10-G45-EK AT91SAM9M10-G45-EK Data Sheet

Product codes
AT91SAM9M10-G45-EK
Page of 1361
 710
SAM9M10 [DATASHEET]
6355F–ATARM–12-Mar-13
 
35.13.12 HSMCI  Status  Register
Name:
 HSMCI_SR
Addresses:
0xFFF80040 (0), 0xFFFD0040 (1)
Access:
 Read-only 
• CMDRDY:  Command  Ready
0 = A command is in progress.
1 = The last command has been sent. Cleared when writing in the HSMCI_CMDR.
• RXRDY:  Receiver  Ready
0 = Data has not yet been received since the last read of HSMCI_RDR.
1 = Data has been received since the last read of HSMCI_RDR.
• TXRDY:  Transmit  Ready
0 = The last data written in HSMCI_TDR has not yet been transferred in the Shift Register.
1 = The last data written in HSMCI_TDR has been transferred in the Shift Register.
• BLKE:  Data  Block  Ended
This flag must be used only for Write Operations.
0 = A data block transfer is not yet finished. Cleared when reading the HSMCI_SR.
1 = A data block transfer has ended, including the CRC16 Status transmission.
the flag is set for each transmitted CRC Status.
Refer to the MMC or SD Specification for more details concerning the CRC Status.
• DTIP:  Data  Transfer  in  Progress
0 = No data transfer in progress.
1 = The current data transfer is still in progress, including CRC16 calculation. Cleared at the end of the CRC16 calculation.
• NOTBUSY:  HSMCI  Not  Busy
This flag must be used only for Write Operations.
A block write operation uses a simple busy signalling of the write operation duration on the data (DAT0) line: during a data
transfer block, if the card does not have a free data receive buffer, the card indicates this condition by pulling down the data
line (DAT0) to LOW. The card stops pulling down the data line as soon as at least one receive buffer for the defined data
transfer block length becomes free.
The NOTBUSY flag allows to deal with these different states.
31
30
29
28
27
26
25
24
UNRE
OVRE
ACKRCVE
ACKRCV
XFRDONE
FIFOEMPTY
DMADONE
BLKOVRE
23
22
21
20
19
18
17
16
CSTOE
DTOE
DCRCE
RTOE
RENDE
RCRCE
RDIRE
RINDE
15
14
13
12
11
10
9
8
CSRCV
SDIOWAIT
MCI_SDIOIR
QA
7
6
5
4
3
2
1
0
NOTBUSY
DTIP
BLKE
TXRDY
RXRDY
CMDRDY