reg_command (SDIO) Register Description
Register Name | reg_command |
---|---|
Offset Address | 0x000000000E |
Absolute Address |
0x00FF16000E (SD0) 0x00FF17000E (SD1) |
Width | 16 |
Type | rwNormal read/write |
Reset Value | 0x00000000 |
Description | Controller Commands. |
reg_command (SDIO) Register Bit-Field Summary
Field Name | Bits | Type | Reset Value | Description |
---|---|---|---|---|
command_cmdindex | 13:8 | rwNormal read/write | 0x0 | Write the command number used with: * CMD [0:63]. * ACMD [0:63]. |
command_cmdtype | 7:6 | rwNormal read/write | 0x0 | Assert a special command type; there are three types: suspend, resume, and abort. Suspend Command: If the Suspend command succeeds, the controller assumes the SD I/O has been released and that it is possible to issue the next command using the SD_DAT signals. The controller de-asserts Read Wait for read transactions and stops checking busy for write transactions. The Interrupt cycle starts in 4-bit mode. If the Suspend command fails, the controller maintain its current state. and the controller shall restart the transfer by setting Continue Request in the Block Gap Control Register. Resume Command: The SDIO controller re-starts the data transfer by restoring the registers in the range of 000-00Dh. The controller checks for busy before starting write transfers. Abort Command: * If this command is set when executing a read transfer, the controller stops adding content to the receive buffer. * If this command is set when executing a write transfer, the controller stops driving the SD_DAT signals. After issuing the Abort command, the controller should issue a software reset. 00: Normal 01: Suspend 10: Resume 11: Abort |
command_datapresent | 5 | rwNormal read/write | 0x0 | This bit is set to 1 to indicate that data is present and shall be transferred using the DAT line. If is set to 0 for the following: 1. Commands using only CMD line (ex. CMD52). 2. Commands with no data transferbut using busy signal on DAT[0]line (R1b or R5b ex. CMD38). 3. Resume Command. 0 Data not Present 1 Data present |
command_indexchkena | 4 | rwNormal read/write | 0x0 | If this bit is set to 1, the HC shall check the index field in the response to see if it has the same value as the command index. If it is not, it is reported as a Command Index Error. If this bit is set to 0, the Index field is not checked. 0 Disable 1 Enable |
command_crcchkena | 3 | rwNormal read/write | 0x0 | If this bit is set to 1, the HC shall check the CRC field in the response. If an error is detected, it is reported as a Command CRC Error. If this bit is set to 0, the CRC field is not checked. 0 Disable 1 Enable |
command_responsetype | 1:0 | rwNormal read/write | 0x0 | Response Type Select. 00 No Response 01 Response Length 136 10 Response Length 48 11 Response Length 48 check busy after response |