RM0082
RS_SDIO controller
Doc ID 018672 Rev 1
705/844
[10]
BWE
1’h0
ROC
This status is used for non-DMA write transfers. This
read only flag indicates if space is available for write
data. If this bit is logic ‘1’, data can be written to the
buffer. A change of this bit from 1 to 0 occurs when all
the block data is written to the buffer. A change of this
bit from 0 to 1 occurs when top of block data can be
written to the buffer and generates the Buffer Write
Ready Interrupt.
1’b0 - Write Disable
1’b1 - Write Enable.
[09]
RTA
1’h0
ROC
This status is used for detecting completion of a read
transfer. This bit is set to logic ‘1’ for either of the
following conditions:
After the end bit of the read command
When writing a logic ‘1’ to continue Request in the
Block Gap Control register to restart a read Transfer.
This bit is cleared to 0 for either of the following
conditions:
When the last data block as specified by block length
is transferred to the system.
When all valid data blocks have been transferred to
the system and no current block transfers are being
sent as a result of the Stop At Block Gap Request set
to logic ‘1’.
A transfer complete interrupt is generated when this
bit changes to 0.
1’b1 - Transferring data
1’b0 - No valid data
[08]
WTA
1’h0
ROC
This status indicates a write transfer is active. If this
bit is logic ‘0’, it means no valid write data exists in the
HC. This bit is set in either of the following cases:
After the end bit of the write command.
When writing a logic ‘1’ to Continue Request in the
Block Gap Control register to restart a write transfer.
This bit is cleared in either of the following cases:
After getting the CRC status of the last data block as
specified by the transfer count (Single or Multiple)
After getting a CRC status of any block where data
transmission is about to be stopped by a Stop At
Block Gap Request. During a write transaction, a
Block Gap Event interrupt is generated when this bit
is changed to logic ‘0’, as a result of the Stop At Block
Gap Request being set.
This status is useful for the HD in determining when
to issue commands during write busy.
1’b1 - transferring data
1’b0 - No valid data
Table 628.
PRSTATE register bit assignments (continued)
Bit
Name
Reset
value
Type
Description