This section provides information on the SDMMC Module Instance within this product. Each of the registers within the Module Instance is described separately below.
|
Register Name |
Type |
Register Width (Bits) |
Register Reset |
Address Offset |
|
RW |
32 |
0x0000 2015 |
0x0000 0110 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0114 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0124 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0128 |
|
|
RW |
32 |
0x0000 0600 |
0x0000 012C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0130 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0200 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0204 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0208 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 020C |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0210 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0214 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0218 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 021C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0220 |
|
|
RO |
32 |
0x0000 0000 |
0x0000 0224 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0228 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 022C |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0230 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0234 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0238 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 023C |
|
|
RW |
32 |
0x20E1 0080 |
0x0000 0240 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0248 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 0250 |
|
|
RO |
32 |
0x3302 0000 |
0x0000 02FC |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1040 |
|
|
RW |
32 |
0x0000 0001 |
0x0000 1048 |
|
|
RW |
32 |
0x0000 0001 |
0x0000 1050 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1054 |
|
|
RW |
32 |
0x0000 0001 |
0x0000 10E0 |
|
|
RO |
32 |
0x2111 0000 |
0x0000 10FC |
|
|
RO |
32 |
0xXXXX XXXX |
0x0000 1100 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 1110 |
|
|
RW |
32 |
0x0000 0000 |
0x0000 4000 |
|
Address offset |
0x0000 0110 |
||
|
Description |
This register allows controlling various parameters of the OCP interface. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:14 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 0000 |
||
|
13:12 |
RESERVED |
Host interface power Management, standby/wait control. |
RW |
0x2 |
||
|
11:10 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
9:8 |
CLKIDLECFG |
Clock idle policy register, Clocks activity during wake up mode period. |
RW |
0x0 |
||
|
|
|
0x0 |
OFF |
|
||
|
|
|
0x1 |
INT |
|
||
|
|
|
0x2 |
FUNC |
|
||
|
|
|
0x3 |
ALL |
|
||
|
7:5 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
4:3 |
SIDLEMODE |
Power management |
RW |
0x2 |
||
|
2 |
WUEN |
This field controls the wakeup capability of the module. |
RW |
1 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
EN |
|
||
|
1 |
SOFTRST |
Software reset. |
RW |
0 |
||
|
0 |
AUTOIDLE |
Internal Clock gating strategy |
RW |
1 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
Address offset |
0x0000 0114 |
||
|
Description |
This register provides status information about the module excluding the interrupt status information. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
RSTDONE |
Internal Reset Monitoring |
RO |
0 |
||
|
|
|
Read 0 |
ONGOING |
|
||
|
|
|
Read 1 |
COMPLETE |
|
||
|
Address offset |
0x0000 0124 |
||
|
Description |
Card Status Response Error Detection |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
STA |
Card status response error |
RW |
0x0000 0000 |
||
|
|
|
0xFFFF FFFF |
MAXIMUM |
|
||
|
|
|
0x0000 0000 |
MINIMUM |
|
||
|
Address offset |
0x0000 0128 |
||
|
Description |
SDMMC System Test Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:17 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
16 |
OBI |
Out-Of-Band Interrupt (OBI) data value |
RO |
0 |
||
|
15 |
SDCD |
Card detect input signal (SDCD) data value |
RO |
0 |
||
|
|
|
Read 0 |
LOW |
|
||
|
|
|
Read 1 |
HIGH |
|
||
|
14 |
SDWP |
Write protect input signal (SDWP) data value |
RO |
0 |
||
|
|
|
Read 0 |
LOW |
|
||
|
|
|
Read 1 |
HIGH |
|
||
|
13 |
WAKD |
Wake request output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
12 |
SSB |
Set status bit |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
11 |
D7D |
DAT7 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
10 |
D6D |
DAT6 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
9 |
D5D |
DAT5 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
8 |
D4D |
DAT4 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
7 |
D3D |
DAT3 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
6 |
D2D |
DAT2 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
5 |
D1D |
DAT1 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
4 |
D0D |
DAT0 input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
3 |
DDIR |
Control of the DAT[7:0] pins direction |
RW |
0 |
||
|
|
|
0 |
OUT |
|
||
|
|
|
1 |
IN |
|
||
|
2 |
CDAT |
CMD input/output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
1 |
CDIR |
Control of the CMD pin direction |
RW |
0 |
||
|
|
|
0 |
OUT |
|
||
|
|
|
1 |
IN |
|
||
|
0 |
MCKD |
MMC clock output signal data value |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
Address offset |
0x0000 012C |
||
|
Description |
SDMMC Configuration Register. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:22 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
21 |
SDMA_LNE |
Peripheral DMA Level/Edge Request |
RW |
0 |
||
|
|
|
0 |
EDGE |
|
||
|
|
|
1 |
LEVEL |
|
||
|
20 |
REVERVED |
DMA Master or Slave selection |
RW |
0 |
||
|
19 |
RESERVED |
Dual Data Rate mode |
RW |
0 |
||
|
18:17 |
RESERVED |
Note: these bit fields are *not used*. |
RW |
0x0 |
||
|
16 |
CLKEXTFREE |
External clock free running |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
15 |
PADEN |
Control Power for MMC Lines. |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
14 |
OBIE |
Out-of-Band Interrupt Enable. |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
13 |
OBIP |
Out-of-Band Interrupt Polarity |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
12 |
CEATA |
CE-ATA control mode (MMC cards compliant with CE-ATA) |
RW |
0 |
||
|
|
|
0 |
STANDARD |
|
||
|
|
|
1 |
CEATA |
|
||
|
11 |
CTPL |
Control Power for DAT[1] line |
RW |
0 |
||
|
|
|
0 |
ALL |
|
||
|
|
|
1 |
NOTDAT1 |
|
||
|
10:9 |
DVAL |
Debounce filter value (all cards) |
RW |
0x3 |
||
|
|
|
0x0 |
DEB0 |
|
||
|
|
|
0x1 |
DEB1 |
|
||
|
|
|
0x2 |
DEB2 |
|
||
|
|
|
0x3 |
DEB3 |
|
||
|
8 |
WPP |
Write protect polarity |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
7 |
CDP |
Card detect polarity |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
6 |
MIT |
MMC interrupt command (MMC cards only). |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
5 |
DW8 |
8-bit mode MMC select (MMC cards only) |
RW |
0 |
||
|
|
|
0 |
_1OR4BIT |
|
||
|
|
|
1 |
_8BIT |
|
||
|
4 |
MODE |
Mode select (all cards) |
RW |
0 |
||
|
|
|
0 |
FUNC |
|
||
|
|
|
1 |
SYSTST |
|
||
|
3 |
STR |
Stream command (MMC cards only) |
RW |
0 |
||
|
|
|
0 |
BLOCK |
|
||
|
|
|
1 |
STREAM |
|
||
|
2 |
HR |
Broadcast host response (MMC cards only) |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
1 |
INIT |
Send initialization stream (all cards) |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
0 |
OD |
Card open drain mode |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
Address offset |
0x0000 0130 |
||
|
Description |
SDMMC Power counter register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
15:0 |
NUMDEL |
Power counter |
RW |
0x0000 |
||
|
|
|
0x0000 |
MINIMUM |
|
||
|
|
|
0xFFFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0200 |
||
|
Description |
DMA System Address |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
SDMA_SYSARESERVED |
SDMA System Address register |
RW |
0x0000 0000 |
||
|
|
|
0xFFFF FFFF |
MAXIMUM |
|
||
|
|
|
0x0000 0000 |
MINIMUM |
|
||
|
Address offset |
0x0000 0204 |
||
|
Description |
Transfer Length Configuration Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
NBLK |
Block count for current transfer |
RW |
0x0000 |
||
|
|
|
0x0000 |
MINIMUM |
|
||
|
|
|
0xFFFF |
MAXIMUM |
|
||
|
15:11 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
10:0 |
BLEN |
Transfer block size |
RW |
0x000 |
||
|
|
|
0x000 |
MINIMUM |
|
||
|
|
|
0x7FF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0208 |
||
|
Description |
Command argument register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
CMDARG |
Command argument |
RW |
0x0000 0000 |
||
|
|
|
0xFFFF FFFF |
MAXIMUM |
|
||
|
|
|
0x0000 0000 |
MINIMUM |
|
||
|
Address offset |
0x0000 020C |
||
|
Description |
Command and data transfer register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29:24 |
IDX |
Command index |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0x3F |
MAXIMUM |
|
||
|
23:22 |
CMDTYP |
Command type |
RW |
0x0 |
||
|
|
|
0x0 |
OTHER |
|
||
|
|
|
0x1 |
SUSPEND |
|
||
|
|
|
0x2 |
RESUME |
|
||
|
|
|
0x3 |
ABORT |
|
||
|
21 |
DP |
Data present select |
RW |
0 |
||
|
|
|
0 |
NODAT |
|
||
|
|
|
1 |
DAT |
|
||
|
20 |
CICE |
Command Index check enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
19 |
CCCE |
Command CRC check enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
18 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
17:16 |
RSPTYPE |
Response type |
RW |
0x0 |
||
|
|
|
0x0 |
NORESP |
|
||
|
|
|
0x1 |
LEN136 |
|
||
|
|
|
0x2 |
LEN48 |
|
||
|
|
|
0x3 |
LEN48BUSY |
|
||
|
15:6 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x000 |
||
|
5 |
MSBS |
Multi/Single block select |
RW |
0 |
||
|
|
|
0 |
SINGLE |
|
||
|
|
|
1 |
BLOCK |
|
||
|
4 |
DDIR |
Data transfer Direction Select |
RW |
0 |
||
|
|
|
0 |
WRITE |
|
||
|
|
|
1 |
READ |
|
||
|
3:2 |
ACEN |
Auto CMD Enable |
RW |
0x0 |
||
|
|
|
0x0 |
DISABLE |
|
||
|
|
|
0x1 |
ENA12 |
|
||
|
|
|
0x2 |
ENA23 |
|
||
|
1 |
BCE |
Block Count Enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
0 |
DE |
DMA enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
Address offset |
0x0000 0210 |
||
|
Description |
Response register 10 |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RSP1 |
Command Response [31:16] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
15:0 |
RSP0 |
Command Response [15:0] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0214 |
||
|
Description |
Response register 32 |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RSP3 |
Command Response [63:48] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
15:0 |
RSP2 |
Command Response [47:32] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0218 |
||
|
Description |
Response register 54 |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RSP5 |
Command Response [95:80] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
15:0 |
RSP4 |
Command Response [79:64] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 021C |
||
|
Description |
Response register 76 |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
RSP7 |
Command Response [127:112] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
15:0 |
RSP6 |
Command Response [111:96] |
RO |
0x0000 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0220 |
||
|
Description |
Data register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Buffer data register |
RW |
0x0000 0000 |
||
|
|
|
0xFFFF FFFF |
MAXIMUM |
|
||
|
|
|
0x0000 0000 |
MINIMUM |
|
||
|
Address offset |
0x0000 0224 |
||
|
Description |
SDMMC controller status register |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:25 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
24 |
CLEV |
Command line signal level |
RO |
0 |
||
|
|
|
Read 0 |
LOW |
|
||
|
|
|
Read 1 |
HIGH |
|
||
|
23:20 |
DLEV |
VAL line 0 to 3 signal level |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
19 |
WP |
Write Protect |
RO |
0 |
||
|
|
|
Read 0 |
PROTECT |
|
||
|
|
|
Read 1 |
NOPROTECT |
|
||
|
18 |
CDPL |
Card Detect Pin Level |
RO |
0 |
||
|
|
|
Read 0 |
HIGH |
|
||
|
|
|
Read 1 |
LOW |
|
||
|
17 |
CSS |
Card State Stable |
RO |
0 |
||
|
|
|
Read 0 |
DEBOUNCE |
|
||
|
|
|
Read 1 |
STABLE |
|
||
|
16 |
CINS |
Card inserted |
RO |
0 |
||
|
|
|
Read 0 |
NOCARD |
|
||
|
|
|
Read 1 |
CARD |
|
||
|
15:12 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
11 |
BRE |
Buffer read enable |
RO |
0 |
||
|
|
|
Read 0 |
DISABLE |
|
||
|
|
|
Read 1 |
ENABLE |
|
||
|
10 |
BWE |
Buffer write enable |
RO |
0 |
||
|
|
|
Read 0 |
NOSPACE |
|
||
|
|
|
Read 1 |
SPACE |
|
||
|
9 |
RTA |
Read transfer active (SD mode only) |
RO |
0 |
||
|
|
|
Read 0 |
NOVAL |
|
||
|
|
|
Read 1 |
ACTIVE |
|
||
|
8 |
WTA |
Write transfer active |
RO |
0 |
||
|
|
|
Read 0 |
NOVAL |
|
||
|
|
|
Read 1 |
ACTIVE |
|
||
|
7:3 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
2 |
DLA |
VAL Line Active (SD Mode only) |
RO |
0 |
||
|
|
|
Read 0 |
INACTIVE |
|
||
|
|
|
Read 1 |
ACTIVE |
|
||
|
1 |
DATI |
Command Inhibit (DAT) (SD Mode Only) |
RO |
0 |
||
|
|
|
Read 0 |
ALLOWED |
|
||
|
|
|
Read 1 |
NOTALLOWED |
|
||
|
0 |
CMDI |
Command Inhibit (CMD) (SD Mode Only) |
RO |
0 |
||
|
|
|
Read 0 |
ALLOWED |
|
||
|
|
|
Read 1 |
NOTALLOWED |
|
||
|
Address offset |
0x0000 0228 |
||
|
Description |
Host Control Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:28 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
27 |
OBWE |
Wakeup event enable for 'Out-of-Band' Interrupt |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
26 |
REM |
Wakeup event enable on SD card removal |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
25 |
INS |
Wakeup event enable on SD card insertion |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
24 |
IWE |
Wakeup event enable on SD card interrupt |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
23:20 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
19 |
IBG |
Interrupt block at gap |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
18 |
RWC |
Read wait control |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
17 |
CR |
Continue request |
RW |
0 |
||
|
|
|
0 |
NOEFFECT |
|
||
|
|
|
1 |
RESTART |
|
||
|
16 |
SBGR |
Stop at block gap request |
RW |
0 |
||
|
|
|
0 |
TRANS |
|
||
|
|
|
1 |
STOP |
|
||
|
15:12 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
11:9 |
SDVS |
SD bus voltage select (All cards). |
RW |
0x0 |
||
|
|
|
0x5 |
LOW |
|
||
|
|
|
0x6 |
MID |
|
||
|
|
|
0x7 |
HIGH |
|
||
|
8 |
SDBP |
SD bus power. |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
7 |
CDSS |
Card Detect Signal Selection |
RW |
0 |
||
|
|
|
0 |
SDCD |
|
||
|
|
|
1 |
TEST |
|
||
|
6 |
CDTL |
Card Detect Test Level |
RW |
0 |
||
|
|
|
0 |
NOCARD |
|
||
|
|
|
1 |
CARD |
|
||
|
5 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
4:3 |
DMAS |
DMA Select Mode |
RW |
0x0 |
||
|
|
|
0x0 |
MINIMUM |
|
||
|
|
|
0x3 |
MAX |
|
||
|
2 |
HSPE |
High Speed Enable |
RW |
0 |
||
|
|
|
0 |
NOMAL |
|
||
|
|
|
1 |
HIGH |
|
||
|
1 |
DTW |
Data transfer width |
RW |
0 |
||
|
|
|
0 |
WIDTH_1 |
|
||
|
|
|
1 |
WIDTH_4 |
|
||
|
0 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
Address offset |
0x0000 022C |
||
|
Description |
SD System Control Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:27 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
26 |
SRD |
Software reset for mmc_dat line |
RW |
0 |
||
|
|
|
0 |
COMPL |
|
||
|
|
|
1 |
ASSERT |
|
||
|
25 |
SRC |
Software reset for mmc_cmd line |
RW |
0 |
||
|
|
|
0 |
COMPL |
|
||
|
|
|
1 |
ASSERT |
|
||
|
24 |
SRA |
Software reset for all |
RW |
0 |
||
|
|
|
0 |
COMPL |
|
||
|
|
|
1 |
ASSERT |
|
||
|
23:20 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
19:16 |
DTO |
Data timeout counter value and busy timeout |
RW |
0x0 |
||
|
|
|
0x0 |
MINIMUM |
|
||
|
|
|
0xE |
MAXIMUM |
|
||
|
15:6 |
CLKD |
Clock frequency select |
RW |
0x000 |
||
|
|
|
0x000 |
MINIMUM |
|
||
|
|
|
0x3FF |
MAXIMUM |
|
||
|
5:3 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
2 |
CEN |
Card clock enable |
RW |
0 |
||
|
|
|
0 |
OFF |
|
||
|
|
|
1 |
ON |
|
||
|
1 |
ICS |
Internal clock stable (status) |
RO |
0 |
||
|
|
|
Read 0 |
NOSTAB |
|
||
|
|
|
Read 1 |
STAB |
|
||
|
0 |
ICE |
Internal clock enable |
RW |
0 |
||
|
|
|
0 |
STOP |
|
||
|
|
|
1 |
RUN |
|
||
|
Address offset |
0x0000 0230 |
||
|
Description |
The interrupt status regroups all the status of the module internal events that can generate an interrupt. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29 |
BADA |
Bad access to data space. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
28 |
CERR |
Card error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
27:25 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
24 |
ACE |
Auto CMD12 error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
23 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
22 |
DEB |
Data End Bit error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
21 |
DCRC |
Data CRC Error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
20 |
DTO |
Data timeout error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
19 |
CIE |
Command index error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
18 |
CEB |
Command end bit error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
17 |
CCRC |
Command CRC error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
16 |
CTO |
Command timeout error. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
15 |
ERRI |
Error interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
NOINT |
|
||
|
|
|
Read 1 |
INT |
|
||
|
14:10 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
9 |
OBI |
Out-of-band interrupt (This interrupt is only useful for MMC card). |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
8 |
CIRQ |
Card interrupt. |
RO |
0 |
||
|
|
|
Read 0 |
NOINT |
|
||
|
|
|
Read 1 |
INT |
|
||
|
7 |
CREM |
Card Removal. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
6 |
CINS |
Card Insertion. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
5 |
BRR |
Buffer read ready. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
4 |
BWR |
Buffer write ready. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
3 |
DMA |
DMA Interrupt |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
2 |
BGE |
Block gap event. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
1 |
TC |
Transfer completed. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
0 |
CC |
Command complete. |
RW |
0 |
||
|
|
|
0 |
NOINT |
|
||
|
|
|
1 |
INT |
|
||
|
Address offset |
0x0000 0234 |
||
|
Description |
This register allows to enable/disable the module to set status bits on an event-by-event basis. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29 |
BADAEN |
Bad access to data space interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
28 |
CERREN |
Card error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
27 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
26 |
RESERVED1 |
No use |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
25 |
ADMAEEN |
ADMA Error Status Enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
24 |
ACEEN |
Auto CMD12 error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
23 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
22 |
DEBEN |
Data end bit error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
21 |
DCRCEN |
Data CRC error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
20 |
DTOEN |
Data timeout error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
19 |
CIEEN |
Command index error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
18 |
CEBEN |
Command end bit error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
17 |
CCRCEN |
Command CRC error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
16 |
CTOEN |
Command timeout error interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
15 |
NULL |
Fixed to 0. |
RO |
0 |
||
|
|
|
Read 0 |
MSK |
|
||
|
|
|
Read 1 |
ENABLE |
|
||
|
14:11 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
10 |
RESERVED0 |
No use |
RW |
0 |
||
|
|
|
0 |
MIN |
|
||
|
|
|
1 |
MAX |
|
||
|
9 |
OBIEN |
Out-of-band interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
8 |
CIRQEN |
Card interrupt enable. |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
7 |
CREMEN |
Card Removal interrupt Enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
6 |
CINSEN |
Card Insertion interrupt Enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
5 |
BRREN |
Buffer read ready interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
4 |
BWREN |
Buffer write ready interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
3 |
DMAEN |
DMA interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
2 |
BGEEN |
Block gap event interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
1 |
TCEN |
Transfer completed interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
0 |
CCEN |
Command completed interrupt enable |
RW |
0 |
||
|
|
|
0 |
MSK |
|
||
|
|
|
1 |
ENABLE |
|
||
|
Address offset |
0x0000 0238 |
||
|
Description |
This register allows to enable/disable the module internal interrupt signaling on an event-by-event basis. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29 |
BADASEN |
Bad access to data space interrupt enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
28 |
CERRSEN |
Card error interrupt signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
27 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
26 |
RESERVED1 |
No use |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
25 |
ADMAESEN |
ADMA Error Signal Enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
24 |
ACESEN |
Auto CMD12 error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
23 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
22 |
DEBSEN |
Data end bit error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
21 |
DCRCSEN |
Data CRC error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
20 |
DTOSEN |
Data timeout error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
19 |
CIESEN |
Command index error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
18 |
CEBSEN |
Command end bit error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
17 |
CCRCSEN |
Command CRC error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
16 |
CTOSEN |
Command timeout error signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
15 |
NULL |
Fixed to 0. |
RO |
0 |
||
|
|
|
Read 0 |
MSK |
|
||
|
|
|
Read 1 |
ENABLE |
|
||
|
14:11 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
10 |
RESERVED0 |
No use |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
9 |
OBISEN |
Out-of-band interrupt signal status enable. |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
8 |
CIRQSEN |
Card interrupt signal status enable. |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
7 |
CREMSEN |
Card Removal signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
6 |
CINSSEN |
Card Insertion signal status enable. |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
5 |
BRRSEN |
Buffer read ready signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
4 |
BWRSEN |
Buffer write ready signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
3 |
DMASEN |
DMA signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
2 |
BGESEN |
Block gap event signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
1 |
TCSEN |
Transfer completed signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
0 |
CCSEN |
Command completed signal status enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
Address offset |
0x0000 023C |
||
|
Description |
AC12 Error register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31 |
RESERVED1 |
No use |
RW |
0 |
||
|
|
|
0 |
LOW |
|
||
|
|
|
1 |
HIGH |
|
||
|
30 |
AIEN |
Asynchronous Interrupt Enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
29:24 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
23:22 |
RESERVED0 |
No use |
RW |
0x0 |
||
|
|
|
0x0 |
LOW |
|
||
|
|
|
0x1 |
HIGH |
|
||
|
21:20 |
DSSEL |
Driver Strength Select |
RW |
0x0 |
||
|
|
|
0x0 |
TYPE_B |
|
||
|
|
|
0x1 |
TYPE_A |
|
||
|
|
|
0x2 |
TYPE_C |
|
||
|
|
|
0x3 |
TYPE_D |
|
||
|
19 |
V1P8SEN |
1.8V Signaling Enable |
RW |
0 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
18:16 |
UHSMS |
UHS Mode Select |
RW |
0x0 |
||
|
|
|
0x0 |
SDR12 |
|
||
|
|
|
0x1 |
SDR25 |
|
||
|
|
|
0x2 |
SDR50 |
|
||
|
|
|
0x3 |
SDR104 |
|
||
|
|
|
0x4 |
RESERVED50 |
|
||
|
15:8 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
7 |
CNI |
Command not issue by auto CMD12 error |
RO |
0 |
||
|
|
|
Read 0 |
NOERR |
|
||
|
|
|
Read 1 |
ERR |
|
||
|
6:5 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
4 |
ACIE |
Auto CMD12 index error |
RO |
0 |
||
|
|
|
Read 0 |
NOERR |
|
||
|
|
|
Read 1 |
ERR |
|
||
|
3 |
ACEB |
Auto CMD12 end bit error. |
RO |
0 |
||
|
|
|
Read 0 |
NOERR |
|
||
|
|
|
Read 1 |
ERR |
|
||
|
2 |
ACCE |
Auto CMD12 CRC error. |
RO |
0 |
||
|
|
|
Read 0 |
NOERR |
|
||
|
|
|
Read 1 |
ERR |
|
||
|
1 |
ACTO |
Auto CMD12 timeout error. |
RO |
0 |
||
|
|
|
Read 0 |
NOERR |
|
||
|
|
|
Read 1 |
ERR |
|
||
|
0 |
ACNE |
Auto CMD12 not executed. |
RO |
0 |
||
|
|
|
Read 0 |
NOERR |
|
||
|
|
|
Read 1 |
ERR |
|
||
|
Address offset |
0x0000 0240 |
||
|
Description |
Capability register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29 |
AIS |
Asynchronous Interrupt Support |
RO |
1 |
||
|
|
|
Read 0 |
NOSUPPORT |
|
||
|
|
|
Read 1 |
SUPPORT |
|
||
|
28 |
BUS64BIT |
64 Bit System Bus Support |
RO |
0 |
||
|
|
|
Read 0 |
NOSUPPORT |
|
||
|
|
|
Read 1 |
SUPPORT |
|
||
|
27 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
26 |
VS18 |
Voltage support 1.8 V |
RW |
0 |
||
|
|
|
0 |
NOSUPPORT |
|
||
|
|
|
1 |
SUPPORT |
|
||
|
25 |
VS30 |
Voltage support 3.0V |
RW |
0 |
||
|
|
|
0 |
NOSUPPORT |
|
||
|
|
|
1 |
SUPPORT |
|
||
|
24 |
VS33 |
Voltage support 3.3V |
RW |
0 |
||
|
|
|
0 |
NOSUPPORT |
|
||
|
|
|
1 |
SUPPORT |
|
||
|
23 |
SRS |
Suspend/resume support (SDIO cards only). |
RO |
1 |
||
|
|
|
Read 0 |
NOSUPPORT |
|
||
|
|
|
Read 1 |
SUPPORT |
|
||
|
22 |
DS |
DMA support |
RO |
1 |
||
|
|
|
Read 0 |
NOSUPPORT |
|
||
|
|
|
Read 1 |
SUPPORT |
|
||
|
21 |
HSS |
High-speed support |
RO |
1 |
||
|
|
|
Read 0 |
NOSUPPORT |
|
||
|
|
|
Read 1 |
SUPPORT |
|
||
|
20 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
19 |
AD2S |
This bit indicates whether the Host Controller is capable of using ADMA2. |
RO |
0 |
||
|
|
|
Read 0 |
NOSUPPORT |
|
||
|
|
|
Read 1 |
SUPPORT |
|
||
|
18 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
17:16 |
MBL |
Maximum block length |
RO |
0x1 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0x3 |
MAXIMUM |
|
||
|
15:14 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
13:8 |
BCF |
Base clock frequency for clock provided to the card. |
RO |
0x00 |
||
|
|
|
Read 0x00 |
MINIMUM |
|
||
|
|
|
Read 0x3F |
MAXIMUM |
|
||
|
7 |
TCU |
Timeout clock unit |
RO |
1 |
||
|
|
|
Read 0 |
KHZ |
|
||
|
|
|
Read 1 |
MHZ |
|
||
|
6 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
5:0 |
TCF |
Timeout clock frequency |
RO |
0x00 |
||
|
|
|
Read 0x00 |
MINIMUM |
|
||
|
|
|
Read 0x3F |
MAXIMUM |
|
||
|
Address offset |
0x0000 0248 |
||
|
Description |
Current capability register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:24 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
23:16 |
CUR18 |
Maximum current for 1.8V |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0xFF |
MAXIMUM |
|
||
|
15:8 |
CUR30 |
Maximum current for 3.0V |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0xFF |
MAXIMUM |
|
||
|
7:0 |
CUR33 |
Maximum current for 3.3V |
RW |
0x00 |
||
|
|
|
0x00 |
MINIMUM |
|
||
|
|
|
0xFF |
MAXIMUM |
|
||
|
Address offset |
0x0000 0250 |
||
|
Description |
The Force Event register is not a physically implemented register. Rather, it is an address at which the Error Interrupt Status register can be written. The effect of a write to this address will be reflected in the Error Interrupt Status Register, if corresponding bit of the Error Interrupt Status Enable Register is set. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:30 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
29 |
BADA |
Force Event Bad access to data space |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
28 |
CERR |
Force Event Card error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
27:25 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
24 |
ACE |
Force Event Auto CMD12 error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
23 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0 |
||
|
22 |
DEB |
Force Event Data End Bit error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
21 |
DCRC |
Force Event Data CRC error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
20 |
DTO |
Force Event Data timeout error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
19 |
CIE |
Force Event Command index error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
18 |
CEB |
Force Event Command end bit error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
17 |
CCRC |
Force Event Comemand CRC error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
16 |
CTO |
Force Event Command Timeout error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
15:8 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x00 |
||
|
7 |
CNI |
Force Event Command not issue by Auto CMD12 error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
6:5 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0 |
||
|
4 |
ACIE |
Force Event Auto CMD12 index error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
3 |
ACEB |
Force Event Auto CMD12 end bit error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
2 |
ACCE |
Force Event Auto CMD12 CRC error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
1 |
ACTO |
Force Event Auto CMD12 timeout error |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
0 |
ACNE |
Force Event Auto CMD12 not executed. |
WO |
0 |
||
|
|
|
Write 0 |
NOINT |
|
||
|
|
|
Write 1 |
INT |
|
||
|
Address offset |
0x0000 02FC |
||
|
Description |
Revision register |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:24 |
VREV |
Vendor Version Number |
RO |
0x33 |
||
|
|
|
Read 0x00 |
MINIMUM |
|
||
|
|
|
Read 0xFF |
MAXIMUM |
|
||
|
23:16 |
SREV |
Specification Version Number |
RO |
0x02 |
||
|
|
|
Read 0x00 |
MINIMUM |
|
||
|
|
|
Read 0xFF |
MAXIMUM |
|
||
|
15:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 |
||
|
0 |
SIS |
Slot Interrupt Status |
RO |
0 |
||
|
|
|
Read 0 |
NOINT |
|
||
|
|
|
Read 1 |
INT |
|
||
|
Address offset |
0x0000 1040 |
||
|
Description |
Test-Port select. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
VAL |
Test port 0 or 1 |
RW |
0 |
||
|
|
|
0 |
TEST_PORT1 |
|
||
|
|
|
1 |
TEST_PORT2 |
|
||
|
Address offset |
0x0000 1048 |
||
|
Description |
DMA mode select: |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
VAL |
0h = In this case, DMA required to read/write data from VAL register, |
RW |
1 |
||
|
|
|
0 |
DISABLE |
|
||
|
|
|
1 |
ENABLE |
|
||
|
Address offset |
0x0000 1050 |
||
|
Description |
DMA indication select: |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
VAL |
0h = IP transmit the data to/from the card after each DMA 'BLOCK' transmitted. |
RW |
1 |
||
|
|
|
0 |
DMA_BLK |
|
||
|
|
|
1 |
DMA_JOB |
|
||
|
Address offset |
0x0000 1054 |
||
|
Description |
This register define the functional clock frequency, and whether the clock is synchronized to main clock. |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
0 |
VAL |
0h = 40MHz post-swallowing |
RW |
0 |
||
|
|
|
0 |
SYNC |
|
||
|
|
|
1 |
ASYNC |
|
||
|
Address offset |
0x0000 10E0 |
||
|
Description |
Event mode register. It is used to select whether each line is disabled, in software mode (software clears the RIS) or in hardware mode (hardware clears the RIS) |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:2 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0x0000 0000 |
||
|
1:0 |
INT0CFG |
Event line mode select for event corresponding to [IPSTANDARD.INT_EVENT0] |
RW |
0x1 |
||
|
|
|
0x0 |
DISABLE |
|
||
|
|
|
0x1 |
SOFTWARE |
|
||
|
|
|
0x2 |
HARDWARE |
|
||
|
Address offset |
0x0000 10FC |
||
|
Description |
This register identifies the peripheral and its exact version. |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:16 |
MODULEID |
Module identification contains a unique peripheral identification number. The assignments are maintained in a central database for all of the platform modules to ensure uniqueness. |
RO |
0x2111 |
||
|
|
|
Read 0x0000 |
MINIMUM |
|
||
|
|
|
Read 0xFFFF |
MAXIMUM |
|
||
|
15:12 |
FEATURST |
Feature Set for the module *instance* |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
11:8 |
INSTNUM |
Instance Number within the device. This will be a parameter to the RTL for modules that can have multiple instances |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
7:4 |
MAJREV |
Major rev of the IP |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
3:0 |
MINREV |
Minor rev of the IP |
RO |
0x0 |
||
|
|
|
Read 0x0 |
MINIMUM |
|
||
|
|
|
Read 0xF |
MAXIMUM |
|
||
|
Address offset |
0x0000 1100 |
||
|
Description |
SDMMC Status register |
||
|
Type |
RO |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior. |
RO |
0bxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx |
||
|
0 |
STATE |
SDMMC state indication |
RO |
X |
||
|
|
|
Read 0 |
NORMAL |
|
||
|
|
|
Read 1 |
ACTIVE |
|
||
|
Address offset |
0x0000 1110 |
||
|
Description |
SRAM Data Access Registers |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:0 |
VAL |
Buffer data register |
RW |
0x0000 0000 |
||
|
|
|
0xFFFF FFFF |
MAXIMUM |
|
||
|
|
|
0x0000 0000 |
MINIMUM |
|
||
|
Address offset |
0x0000 4000 |
||
|
Description |
Clock Enable Register |
||
|
Type |
RW |
||
|
Bits |
Field Name |
Description |
Type |
Reset |
||
|
31:1 |
Reserved |
Reserved |
RO |
0x0000 0000 |
||
|
0 |
EN |
Clock Disable / Enable for: |
RW |
0 |
||