36.7.16 Software Reset Register
| Name: | SRR |
| Offset: | 0x2F |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| SWRSTDAT | SWRSTCMD | SWRSTALL | |||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 |
Bit 2 – SWRSTDAT Software reset for DAT line
Only part of a data circuit is reset. The DMA circuit is also reset.
The following registers and bits are cleared by this bit:
- Buffer Data Port Register BDPR: BUFDATA is cleared and initialized.
- Present State Register PSR:
- Buffer Read Enable (BUFRDEN)
- Buffer Write Enable (BUFWREN)
- Read Transfer Active (RTACT)
- Write Transfer Active (WTACT)
- DAT Line Active (DATLL)
- Command Inhibit - DAT (CMDINHD)
- Block Gap Control Register BGCR:
- Continue Request (CONTR)
- Stop At Block Gap Request (STPBGR)
- Normal Interrupt Status Register NISTR:
- Buffer Read Ready (BRDRDY)
- Buffer Write Ready (BWRRDY)
- DMA Interrupt (DMAINT)
- Block Gap Event (BLKGE)
- Transfer Complete (TRFC)
| Value | Description |
|---|---|
| 0 |
Work |
| 1 |
Reset |
Bit 1 – SWRSTCMD Software reset for CMD line
Bit 0 – SWRSTALL Software reset for All
This reset affects the entire peripheral except the card detection circuit. During initialization, the peripheral must be reset by setting this bit to 1. This bit is automatically cleared to 0 when CA0R and CA1R are valid and the user can read them. If this bit is set to 1, the user should issue a reset command and reinitialize the card.
List of registers cleared to 0:
- SDMA System Address / Argument 2 Register SSAR
- Block Size Register BSR
- Block Count Register BCR
- Argument 1 Register ARG1R
- Transfer Mode Register TMR
- Command Register CR
- Response Register n RR
- Buffer Data Port Register BDPR
- Present State Register PSR (except CMDLL, DATLL, WRPPL, CARDDDPL, CARDSS, CARDINS)
- Host Control 1 Register HC1R
- Power Control Register PCR
- Block Gap Control Register BGCR
- Wakeup Control Register WCR
- Clock Control Register CCR
- Timeout Control Register TCR
- Normal Interrupt Status Register NISTR
- Error Interrupt Status Register EISTR
- Normal Interrupt Status Enable Register NISTER
- Error Interrupt Status Enable Register EISTER
- Normal Interrupt Signal Enable Register NISIER
- Error Interrupt Signal Enable Register EISIER
- Auto CMD Error Status Register ACESR
- Host Control 2 Register HC2R - DEFAULT
- ADMA Error Status Register AESR
- ADMA System Address Registers
- Slot Interrupt Status Register SISR
- e.MMC Control 1 Register MC1R
- e.MMC Control 2 Register MC2R
- AHB Control Register ACR
- Clock Control 2 Register CC2R
- Capabilities Control Register CACR (except KEY)
| Value | Description |
|---|---|
| 0 |
Work |
| 1 |
Reset |
