ctype

         Card Type Register
      
Module Instance Base Address Register Address
i_sdmmc_sdmmc 0xFF808000 0xFF808018

Offset: 0x18

Access: RW

Important: The value of a reserved bit must be maintained in software. When you modify registers containing reserved bit fields, you must use a read-modify-write operation to preserve state and prevent indeterminate system behavior.
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

Reserved

card_width1

RW 0x0

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Reserved

card_width2

RW 0x0

ctype Fields

Bit Name Description Access Reset
16 card_width1
One bit per card indicates if card is 8-bit:
                                                 0-Non 8-bit mode
                                                 1-8-bit mode
Bit[31] corresponds to card[15]; bit[16] corresponds to card[0].
Value Description
0 NON8BIT
1 MODE8BIT
RW 0x0
0 card_width2
One bit per card indicates if card is 1-bit or 4-bit:
                                                 0-1-bit mode
                                                 1-4-bit mode
Bit[15] corresponds to card[15], bit[0] corresponds to card[0].
Only NUM_CARDS*2 number of bits are implemented.
Value Description
0 MODE1BIT
1 MODE4BIT
RW 0x0