RM0082
RS_SDIO controller
Doc ID 018672 Rev 1
699/844
32.7.4 CMDARG
register
The CMDARG bit assignments are given in
32.7.5 TRMode
register
The TRMode bit assignments are given in
.
Table 619.
BLKCount register bit assignments
Bit
Name
Reset
value
Type
Description
[15:00]
TBLKCount
16’h0000
RW
This register is enabled when Block Count Enable
in the Transfer Mode register is set to logic ‘1’ and is
valid only for multiple block transfers. The HC
decrements the block count after each block
transfer and stops when the count reaches zero. It
can be accessed only if no transaction is executing
(that is after a transaction has stopped). Read
operations during transfer return an invalid value
and write operations shall be ignored.
When saving transfer context as a result of
Suspend command, the number of blocks yet to be
transferred can be determined by reading this
register. When restoring transfer context prior to
issuing a Resume command, the HD shall restore
the previously save block count.
16’h0000 - Stop Count
16’h0001 - 1 block
16’h0002 - 2 blocks
--- ---
16’hFFFF - 65535 blocks
.
Table 620.
ARG register bit assignments
Bit
Name
Reset
value
Type
Description
[31:00]
CMDARG
32’h0
RW
The SD Command Argument is specified as bit39-8
of Command Format.
Table 621.
TRMODE register bit assignments
Bit
Name
Reset
value
Type
Description
[15:08]
-
-
Rsvd
Reserved.
[07]
SPIMode
1’h0
RW
SPI mode enable bit.
1’b1 - SPI mode
1’b0 - SD mode
[06]
-
-
Rsvd
Reserved.