CTRL
Control register
Module Instance | Base Address | Register Address |
---|---|---|
i_sdmmc__sdmmc_csr__108d1000__sdmmc_block__SEG_hps2sdm_be_0x1000_0x1000
|
0x108D1000
|
0x108D1000
|
Size: 32
Offset: 0x
Access: RW
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|
|
|
|
|
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
CTRL Fields
Bit | Name | Description | Access | Reset | ||||||
---|---|---|---|---|---|---|---|---|---|---|
31:26 |
Reserved_15
|
Reserved bitfield added by Magillem |
RO
|
0x0
|
||||||
25 |
USE_INTERNAL_DMAC
|
Present only for the Internal DMAC configuration; else, it is reserved. 0-The host performs data transfers through the slave interface 1-Internal DMAC used for data transfer
|
RW
|
0x0
|
||||||
24 |
ENABLE_OD_PULLUP
|
External open-drain pullup 0-Disable 1-Enable Inverted value of this bit is output to ccmd_od_pullup_en_n port. When bit is set, command output always driven in open-drive mode; that is, DWC_mobile_storage drives either 0 or high impedance, and does not drive hard 1.
|
RW
|
0x0
|
||||||
23:20 |
CARD_VOLTAGE_B
|
Card regulator-B voltage setting; output to card_volt_b port. Optional feature; ports can be used as general-purpose outputs |
RW
|
0x0
|
||||||
19:16 |
CARD_VOLTAGE_A
|
Card regulator-A voltage setting; output to card_volt_a port. Optional feature; ports can be used as general-purpose outputs |
RW
|
0x0
|
||||||
15:12 |
Reserved_11
|
Reserved bitfield added by Magillem |
RO
|
0x0
|
||||||
11 |
CEATA_DEVICE_INTERRUPT_STATUS
|
0-Interrupts not enabled in CE-ATA device 1-Interrupts are enabled in CE-ATA device
|
RW
|
0x0
|
||||||
10 |
SEND_AUTO_STOP_CCSD
|
0-Clear bit if DWC_mobile_storage does not reset the bit 1-Send internally generated STOP after sending CCSD to CE-ATA device
|
RW
|
0x0
|
||||||
9 |
SEND_CCSD
|
0-Clear this bit if DWC_mobile_storage does not reset the bit 1-Send Command Completion Signal Disable (CCSD) to CE-ATA device
|
RW
|
0x0
|
||||||
8 |
ABORT_READ_DATA
|
0-No change 1-After suspend command is issued during read-transfer, software polls card to find when suspend happened. Once suspend occurs,software sets bit to reset data state-machine, which is waiting for next block of data. Bit automatically clears once data statemachine resets to idle. Used in SDIO card suspend sequence.
|
RW
|
0x0
|
||||||
7 |
SEND_IRQ_RESPONSE
|
0-No Change in this 1-Send auto IRQ response Bit automatically clears once response is sent. To wait for MMC card interrupts, host issues CMD40, and DWC_mobile_storage waits for interrupt response from MMC card(s). In meantime, if host wants DWC_mobile_storage to exit waiting for interrupt state, it can set this bit, at which time DWC_mobile_storage command state-machine sends CMD40 response on bus and returns to idle state.
|
RW
|
0x0
|
||||||
6 |
READ_WAIT
|
0-Clear read wait 1-Assert read wait For sending read-wait to SDIO cards.
|
RW
|
0x0
|
||||||
5 |
DMA_ENABLE
|
0-Disable DMA transfer mode 1-Enable DMA transfer mode Valid only if DWC_mobile_storage configured for External DMA interface.
|
RW
|
0x0
|
||||||
4 |
INT_ENABLE
|
Global interrupt enable/disable bit: 0-Disable interrupts 1-Enable interrupts The int port is 1 only when this bit is 1 and one or more unmasked interrupts are set.
|
RW
|
0x0
|
||||||
3 |
Reserved_3
|
Reserved bitfield added by Magillem |
RO
|
0x0
|
||||||
2 |
DMA_RESET
|
0-No change 1-Reset internal DMA interface control logic To reset DMA interface, firmware should set bit to 1. This bit is auto-cleared after two AHB clocks.
|
RW
|
0x0
|
||||||
1 |
FIFO_RESET
|
0-No change 1-Reset to data FIFO To reset FIFO pointers To reset FIFO, firmware should set bit to 1. This bit is auto-cleared after completion of reset operation.
|
RW
|
0x0
|
||||||
0 |
CONTROLLER_RESET
|
0-No change 1-Reset DWC_mobile_storage controller To reset controller, firmware should set bit to 1. This bit is auto-cleared after two AHB and two cclk_in clock cycles. This resets: * BIU/CIU interface * CIU and state machines * abort_read_data, send_irq_response, and read_wait bits of Control register * start_cmd bit of Command register Does not affect any registers or DMA interface, or FIFO or host interrupts
|
RW
|
0x0
|