www.ti.com
SD-HOST Registers
395
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
SD Host Controller Interface
Table 11-18. MMCHS_STAT Register Field Descriptions (continued)
Bit Field Type Reset Description
15 ERRI R 0h
Error Interrupt
If any of the bits in the Error Interrupt Status register
(MMCi.MMCHS_STAT[31:16]) are set, then this bit is set to 1.
Therefore, the host driver can efficiently test for an error by checking
this bit first. Writes to this bit are ignored.
0h = No interrupt
1h = Error interrupt events occurred
14-6 RESERVED R 0h
5 BRR R/W 0h
Buffer read ready
This bit is set automatically during a read operation to the card (see
class 2 - block oriented read commands) when one block specified
by the MMCi.MMCHS_BLK[10:0] BLEN bitfield is completely written
in the buffer. It indicates that the memory card has filled out the
buffer and that the local host needs to empty the buffer by reading it.
Note: If the DMA receive-mode is enabled, this bit is never set;
instead, a DMA receive request to the main DMA controller of the
system is generated.
Read 0h = No error
Write 0h = Status bit unchanged
Read 1h = Ready to read buffer
Write 1h = Status is cleared
4 BWR R/W 0h
Buffer write ready
This bit is set automatically during a write operation to the card (see
class 4 - block oriented write command) when the host can write a
complete block as specified by MMCi.MMCHS_BLK[10:0] BLEN. It
indicates that the memory card has emptied one block from the
buffer and that the local host is able to write one block of data into
the buffer.
Note: If the DMA transmit mode is enabled, this bit is never set;
instead, a DMA transmit request to the main DMA controller of the
system is generated.
Read 0h = No error
Write 0h = Status bit unchanged
Read 1h = Ready to write buffer
Write 1h = Status is cleared
3-2 RESERVED R 0h
1 TC R/W 0h
Transfer completed
This bit is always set when a read/write transfer is completed or
between two blocks when the transfer is stopped due to a stop at
block gap request (MMCi.MMCHS_HCTL[16] SBGR bit).
This bit is also set when exiting a command in a busy state (if the
command has a busy notification capability).
In read mode: This bit is automatically set on completion of a read
transfer (MMCi.MMCHS_PSTATE[9] RTA bit).
In write mode: This bit is set automatically on completion of the
mmci_dat line use (MMCi.MMCHS_PSTATE[2] DLA bit).
Read 0h = No transfer complete
Write 0h = Status bit unchanged
Read 1h = Data transfer complete
Write 1h = Status is cleared