The 45 registers of SDMMC0 (SD/MMC Host Controller), from 0x45026000, with their reset value and every field. The PIC32CK1025SG01100 has 6232 registers in 78 peripherals, one page each.
SDMMC0 SD/MMC Host Controller
SSARSDMA System Address / Argument 2
Address
0x45026000
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
ADDR
31:0
SDMA System Address
ARG2
31:0
Argument 2
BSRBlock Size
Address
0x45026004
Reset
0x0000
Access
read/write
Size
16-bit
2 fields
Field
Bits
What it does
BOUNDARY
14:12
SDMA Buffer Boundary
0 4k bytes
1 8k bytes
2 16k bytes
3 32k bytes
4 64k bytes
5 128k bytes
6 256k bytes
7 512k bytes
BLOCKSIZE
9:0
Transfer Block Size
BCRBlock Count
Address
0x45026006
Reset
0x0000
Access
read/write
Size
16-bit
1 field
Field
Bits
What it does
BLKCNT
15:0
Blocks Count for Current Transfer
ARG1RArgument 1
Address
0x45026008
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
ARG1
31:0
Argument 1
TMRTransfer Mode
Address
0x4502600C
Reset
0x0000
Access
read/write
Size
16-bit
5 fields
Field
Bits
What it does
MSBSEL
5
Multi/Single Block Selection
0 Single Block
1 Multiple Block
DTDSEL
4
Data Transfer Direction Selection
0 Write (Host to Card)
1 Read (Card to Host)
ACMDEN
3:2
Auto Command Enable
0 Auto Command Disabled
1 Auto CMD12 Enable
2 Auto CMD23 Enable
BCEN
1
Block Count Enable
0 Disable
1 Enable
DMAEN
0
DMA Enable
0 No data transfer or Non DMA data transfer
1 DMA data transfer
CRCommand
Address
0x4502600E
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
Field
Bits
What it does
CMDIDX
13:8
Command Index
CMDTYP
7:6
Command Type
0 Other commands
1 CMD52 for writing Bus Suspend in CCCR
2 CMD52 for writing Function Select in CCCR
3 CMD12, CMD52 for writing I/O Abort in CCCR
DPSEL
5
Data Present Select
0 No Data Present
1 Data Present
CMDICEN
4
Command Index Check Enable
0 Disable
1 Enable
CMDCCEN
3
Command CRC Check Enable
0 Disable
1 Enable
RESPTYP
1:0
Response Type
0 No response
1 136-bit response
2 48-bit response
3 48-bit response check busy after response
RR0Response
Address
0x45026010
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CMDRESP
31:0
Command Response
RR1Response
Address
0x45026014
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CMDRESP
31:0
Command Response
RR2Response
Address
0x45026018
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CMDRESP
31:0
Command Response
RR3Response
Address
0x4502601C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
CMDRESP
31:0
Command Response
BDPRBuffer Data Port
Address
0x45026020
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
BUFDATA
31:0
Buffer Data
PSRPresent State
Address
0x45026024
Reset
0x00F80000
Access
read only
Size
32-bit
13 fields
Field
Bits
What it does
CMDLL
24
CMD Line Level
DATLL
23:20
DAT[3:0] Line Level
WRPPL
19
Write Protect Pin Level
0 Write protected (SDWP#=0)
1 Write enabled (SDWP#=1)
CARDDPL
18
Card Detect Pin Level
0 No card present (SDCD#=1)
1 Card present (SDCD#=0)
CARDSS
17
Card State Stable
0 Reset or Debouncing
1 No Card or Insered
CARDINS
16
Card Inserted
0 Reset or Debouncing or No Card
1 Card inserted
BUFRDEN
11
Buffer Read Enable
0 Read disable
1 Read enable
BUFWREN
10
Buffer Write Enable
0 Write disable
1 Write enable
RTACT
9
Read Transfer Active
0 No valid data
1 Transferring data
WTACT
8
Write Transfer Active
0 No valid data
1 Transferring data
DLACT
2
DAT Line Active
0 DAT Line Inactive
1 DAT Line Active
CMDINHD
1
Command Inhibit (DAT)
0 Can issue command which uses the DAT line
1 Cannot issue command which uses the DAT line
CMDINHC
0
Command Inhibit (CMD)
0 Can issue command using only CMD line
1 Cannot issue command
HC1RHost Control 1
Address
0x45026028
Reset
0x00
Access
read/write
7CARDDSEL
6CARDDTL
5–
4DMASEL1
3DMASEL0
2HSEN
1DW
0LEDCTRL
6 fields
Field
Bits
What it does
CARDDSEL
7
Card Detect Signal Selection
0 SDCD# is selected (for normal use)
1 The Card Select Test Level is selected (for test purpose)
CARDDTL
6
Card Detect Test Level
0 No Card
1 Card Inserted
DMASEL
4:3
DMA Select
0 SDMA is selected
2 32-bit Address ADMA2 is selected
HSEN
2
High Speed Enable
0 Normal Speed mode
1 High Speed mode
DW
1
Data Width
0 1-bit mode
1 4-bit mode
LEDCTRL
0
LED Control
0 LED off
1 LED on
PCRPower Control
Address
0x45026029
Reset
0x0E
Access
read/write
7–
6–
5–
4–
3–
2–
1–
0SDBPWR
1 field
Field
Bits
What it does
SDBPWR
0
SD Bus Power
0 Power off
1 Power on
BGCRBlock Gap Control
Address
0x4502602A
Reset
0x00
Access
read/write
7–
6–
5–
4–
3INTBG
2RWCTRL
1CONTR
0STPBGR
4 fields
Field
Bits
What it does
INTBG
3
Interrupt at Block Gap
0 Disabled
1 Enabled
RWCTRL
2
Read Wait Control
0 Disable Read Wait Control
1 Enable Read Wait Control
CONTR
1
Continue Request
0 Not affected
1 Restart
STPBGR
0
Stop at Block Gap Request
0 Transfer
1 Stop
WCRWakeup Control
Address
0x4502602B
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2WKENCREM
1WKENCINS
0WKENCINT
3 fields
Field
Bits
What it does
WKENCREM
2
Wakeup Event Enable on Card Removal
0 Disable
1 Enable
WKENCINS
1
Wakeup Event Enable on Card Insertion
0 Disable
1 Enable
WKENCINT
0
Wakeup Event Enable on Card Interrupt
0 Disable
1 Enable
CCRClock Control
Address
0x4502602C
Reset
0x0000
Access
read/write
Size
16-bit
6 fields
Field
Bits
What it does
SDCLKFSEL
15:8
SDCLK Frequency Select
USDCLKFSEL
7:6
Upper Bits of SDCLK Frequency Select
CLKGSEL
5
Clock Generator Select
0 Divided Clock Mode
1 Programmable Clock Mode
SDCLKEN
2
SD Clock Enable
0 Disable
1 Enable
INTCLKS
1
Internal Clock Stable
0 Not Ready
1 Ready
INTCLKEN
0
Internal Clock Enable
0 Stop
1 Oscillate
TCRTimeout Control
Address
0x4502602E
Reset
0x00
Access
read/write
7–
6–
5–
4–
3DTCVAL3
2DTCVAL2
1DTCVAL1
0DTCVAL0
1 field
Field
Bits
What it does
DTCVAL
3:0
Data Timeout Counter Value
SRRSoftware Reset
Address
0x4502602F
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2SWRSTDAT
1SWRSTCMD
0SWRSTALL
3 fields
Field
Bits
What it does
SWRSTDAT
2
Software Reset For DAT Line
0 Work
1 Reset
SWRSTCMD
1
Software Reset For CMD Line
0 Work
1 Reset
SWRSTALL
0
Software Reset For All
0 Work
1 Reset
NISTRNormal Interrupt Status
Address
0x45026030
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
ERRINT
15
Error Interrupt
0 No Error
1 Error
BOOTAR
14
Boot Acknowledge Received
CINT
8
Card Interrupt
0 No Card Interrupt
1 Generate Card Interrupt
CREM
7
Card Removal
0 Card state stable or Debouncing
1 Card Removed
CINS
6
Card Insertion
0 Card state stable or Debouncing
1 Card inserted
BRDRDY
5
Buffer Read Ready
0 Not ready to read buffer
1 Ready to read buffer
BWRRDY
4
Buffer Write Ready
0 Not ready to write buffer
1 Ready to write buffer
DMAINT
3
DMA Interrupt
0 No DMA Interrupt
1 DMA Interrupt is generated
BLKGE
2
Block Gap Event
0 No Block Gap Event
1 Transaction stopped at block gap
TRFC
1
Transfer Complete
0 Not complete
1 Command execution is completed
CMDC
0
Command Complete
0 No command complete
1 Command complete
EISTRError Interrupt Status
Address
0x45026032
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
BOOTAE
12
Boot Acknowledge Error
0 FIFO contains at least one byte
1 FIFO is empty
ADMA
9
ADMA Error
0 No Error
1 Error
ACMD
8
Auto CMD Error
0 No Error
1 Error
CURLIM
7
Current Limit Error
0 No Error
1 Power Fail
DATEND
6
Data End Bit Error
0 No Error
1 Error
DATCRC
5
Data CRC Error
0 No Error
1 Error
DATTEO
4
Data Timeout Error
0 No Error
1 Timeout
CMDIDX
3
Command Index Error
0 No Error
1 Error
CMDEND
2
Command End Bit Error
0 No error
1 End Bit Error Generated
CMDCRC
1
Command CRC Error
0 No Error
1 CRC Error Generated
CMDTEO
0
Command Timeout Error
0 No Error
1 Timeout
NISTERNormal Interrupt Status Enable
Address
0x45026034
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
BOOTAR
14
Boot Acknowledge Received Status Enable
CINT
8
Card Interrupt Status Enable
0 Masked
1 Enabled
CREM
7
Card Removal Status Enable
0 Masked
1 Enabled
CINS
6
Card Insertion Status Enable
0 Masked
1 Enabled
BRDRDY
5
Buffer Read Ready Status Enable
0 Masked
1 Enabled
BWRRDY
4
Buffer Write Ready Status Enable
0 Masked
1 Enabled
DMAINT
3
DMA Interrupt Status Enable
0 Masked
1 Enabled
BLKGE
2
Block Gap Event Status Enable
0 Masked
1 Enabled
TRFC
1
Transfer Complete Status Enable
0 Masked
1 Enabled
CMDC
0
Command Complete Status Enable
0 Masked
1 Enabled
EISTERError Interrupt Status Enable
Address
0x45026036
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
BOOTAE
12
Boot Acknowledge Error Status Enable
ADMA
9
ADMA Error Status Enable
0 Masked
1 Enabled
ACMD
8
Auto CMD Error Status Enable
0 Masked
1 Enabled
CURLIM
7
Current Limit Error Status Enable
0 Masked
1 Enabled
DATEND
6
Data End Bit Error Status Enable
0 Masked
1 Enabled
DATCRC
5
Data CRC Error Status Enable
0 Masked
1 Enabled
DATTEO
4
Data Timeout Error Status Enable
0 Masked
1 Enabled
CMDIDX
3
Command Index Error Status Enable
0 Masked
1 Enabled
CMDEND
2
Command End Bit Error Status Enable
0 Masked
1 Enabled
CMDCRC
1
Command CRC Error Status Enable
0 Masked
1 Enabled
CMDTEO
0
Command Timeout Error Status Enable
0 Masked
1 Enabled
NISIERNormal Interrupt Signal Enable
Address
0x45026038
Reset
0x0000
Access
read/write
Size
16-bit
10 fields
Field
Bits
What it does
BOOTAR
14
Boot Acknowledge Received Signal Enable
CINT
8
Card Interrupt Signal Enable
0 Masked
1 Enabled
CREM
7
Card Removal Signal Enable
0 Masked
1 Enabled
CINS
6
Card Insertion Signal Enable
0 Masked
1 Enabled
BRDRDY
5
Buffer Read Ready Signal Enable
0 Masked
1 Enabled
BWRRDY
4
Buffer Write Ready Signal Enable
0 Masked
1 Enabled
DMAINT
3
DMA Interrupt Signal Enable
0 Masked
1 Enabled
BLKGE
2
Block Gap Event Signal Enable
0 Masked
1 Enabled
TRFC
1
Transfer Complete Signal Enable
0 Masked
1 Enabled
CMDC
0
Command Complete Signal Enable
0 Masked
1 Enabled
EISIERError Interrupt Signal Enable
Address
0x4502603A
Reset
0x0000
Access
read/write
Size
16-bit
11 fields
Field
Bits
What it does
BOOTAE
12
Boot Acknowledge Error Signal Enable
ADMA
9
ADMA Error Signal Enable
0 Masked
1 Enabled
ACMD
8
Auto CMD Error Signal Enable
0 Masked
1 Enabled
CURLIM
7
Current Limit Error Signal Enable
0 Masked
1 Enabled
DATEND
6
Data End Bit Error Signal Enable
0 Masked
1 Enabled
DATCRC
5
Data CRC Error Signal Enable
0 Masked
1 Enabled
DATTEO
4
Data Timeout Error Signal Enable
0 Masked
1 Enabled
CMDIDX
3
Command Index Error Signal Enable
0 Masked
1 Enabled
CMDEND
2
Command End Bit Error Signal Enable
0 Masked
1 Enabled
CMDCRC
1
Command CRC Error Signal Enable
0 Masked
1 Enabled
CMDTEO
0
Command Timeout Error Signal Enable
0 Masked
1 Enabled
ACESRAuto CMD Error Status
Address
0x4502603C
Reset
0x0000
Access
read only
Size
16-bit
6 fields
Field
Bits
What it does
CMDNI
7
Command not Issued By Auto CMD12 Error
0 No error
1 Not Issued
ACMDIDX
4
Auto CMD Index Error
0 No error
1 Error
ACMDEND
3
Auto CMD End Bit Error
0 No error
1 End Bit Error Generated
ACMDCRC
2
Auto CMD CRC Error
0 No error
1 CRC Error Generated
ACMDTEO
1
Auto CMD Timeout Error
0 No error
1 Timeout
ACMD12NE
0
Auto CMD12 Not Executed
0 Executed
1 Not executed
HC2RHost Control 2
Address
0x4502603E
Reset
0x0000
Access
read/write
Size
16-bit
2 fields
Field
Bits
What it does
PVALEN
15
Preset Value Enable
0 SDCLK and Driver Strength are controlled by Host Controller
1 Automatic Selection by Preset Value is Enabled
ASINTEN
14
Asynchronous Interrupt Enable
0 Disabled
1 Enabled
CA0RCapabilities 0
Address
0x45026040
Reset
0x27E8008C
Access
read/write
Size
32-bit
12 fields
Field
Bits
What it does
ASINTSUP
29
Asynchronous Interrupt Support
0 Asynchronous Interrupt not Supported
1 Asynchronous Interrupt supported
V30VSUP
25
Voltage Support 3.0V
0 3.0V Not Supported
1 3.0V Supported
V33VSUP
24
Voltage Support 3.3V
0 3.3V Not Supported
1 3.3V Supported
SRSUP
23
Suspend/Resume Support
0 Suspend/Resume not Supported
1 Suspend/Resume Supported
SDMASUP
22
SDMA Support
0 SDMA not Supported
1 SDMA Supported
HSSUP
21
High Speed Support
0 High Speed not Supported
1 High Speed Supported
ADMA2SUP
19
ADMA2 Support
0 ADMA2 not Supported
1 ADMA2 Supported
MAXBLKL
17:16
Max Block Length
0 512 bytes
1 1024 bytes
2 2048 bytes
BASECLKF
15:8
Base Clock Frequency
0 Get information via another method
TEOCLKU
7
Timeout Clock Unit
0 KHz
1 MHz
TEOCLKF
5:0
Timeout Clock Frequency
0 Get information via another method
SLTYPE
31:30
Slot Type
0 Removable Card Slot
1 Embedded Slot for One Device
CA1RCapabilities 1
Address
0x45026044
Reset
0x00010070
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
CLKMULT
23:16
Clock Multiplier
0 Clock Multiplier is Not Supported
MCCARMaximum Current Capabilities
Address
0x45026048
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
Field
Bits
What it does
MAXCUR30V
15:8
Maximum Current for 3.0V
0 Get information via another method
1 4mA
2 8mA
3 12mA
MAXCUR33V
7:0
Maximum Current for 3.3V
0 Get information via another method
1 4mA
2 8mA
3 12mA
FERACESForce Event for Auto CMD Error Status
Address
0x45026050
Reset
0x0000
Access
write only
Size
16-bit
6 fields
Field
Bits
What it does
CMDNI
7
Force Event for Command Not Issued By Auto CMD12 Error