PIC32MZ1064DAK176 SDHC registers The 16 registers of SDHC (SD host controller), from 0xBF8EC004, with their reset value and every field. The PIC32MZ1064DAK176 has 2244 registers in 101 peripherals, one page each.
Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.
SDHC SD host controller SDHCBLKCONSDHC Block Control Register
Address 0xBF8EC004
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does BLKSIZE 9:0 BLKCNT 31:16
SDHCARG
Address 0xBF8EC008
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does ARG 31:0
SDHCMODE
Address 0xBF8EC00C
Reset 0x00000000
Access read/write
Size 32-bit 11 fields
Field Bits What it does CIDX 29:24 CTYPE 23:22 DPRESSEL 21 CIDXCEN 20 CCRCCEN 19 RESPTYPE 17:16 BSEL 5 DTXDIRSEL 4 ACEN 3:2 BCEN 1 DMAEN 0
SDHCDATA
Address 0xBF8EC020
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does DATA 31:0
SDHCSTAT1
Address 0xBF8EC024
Reset 0x00000000
Access read only
Size 32-bit 16 fields
Field Bits What it does CMDSLVL 24 DATA3SLVL 23 DATA2SLVL 22 DATA1SLVL 21 DATA0SLVL 20 WPSLVL 19 CDSLVL 18 CARDST 17 CARDINS 16 BREN 11 BWEN 10 RDACTIVE 9 WRACTIVE 8 DLACTIVE 2 CINHDAT 1 CINHCMD 0
SDHCCON1
Address 0xBF8EC028
Reset 0x00000000
Access read/write
Size 32-bit 13 fields
Field Bits What it does WKONREM 26 WKONINS 25 WKONINT 24 INTBG 19 RDWTCON 18 CONTREQ 17 SBGREQ 16 SDBP 8 CDSSEL 7 CDTLVL 6 DMASEL 4:3 HSEN 2 DTXWIDTH 1
SDHCCON2
Address 0xBF8EC02C
Reset 0x00000000
Access read/write
Size 32-bit 8 fields
Field Bits What it does SWRDAT 26 SWRCMD 25 SWRALL 24 DTOC 19:16 SDCLKDIV 15:8 SDCLKEN 2 ICLKSTABLE 1 ICLKEN 0
SDHCINTSTAT
Address 0xBF8EC030
Reset 0x03FF81FF
Access read only
Size 32-bit 20 fields
Field Bits What it does ADEIF 25 ACEIF 24 CLEIF 23 DEBEIF 22 DCRCEIF 21 DTOEIF 20 CIDXEIF 19 CEBEIF 18 CCRCEIF 17 CTOEIF 16 EIF 15 CARDIF 8 CARDRIF 7 CARDIIF 6 BRRDYIF 5 BWRDYIF 4 DMAIF 3 BGIF 2 TXCIF 1 CCIF 0
SDHCINTEN
Address 0xBF8EC034
Reset 0x00000000
Access read/write
Size 32-bit 20 fields
Field Bits What it does ADEIE 25 ACEIE 24 CLEIE 23 DEBEIE 22 DCRCEIE 21 DTOEIE 20 CIDXEIE 19 CEBEIE 18 CCRCEIE 17 CTOEIE 16 EIE 15 CARDIE 8 CARDRIE 7 CARDIIE 6 BRRDYIE 5 BWRDYIE 4 DMAIE 3 BGIE 2 TXCIE 1 CCIE 0
SDHCINTSEN
Address 0xBF8EC038
Reset 0x00000000
Access read/write
Size 32-bit 20 fields
Field Bits What it does ADEISE 25 ACEISE 24 CLEISE 23 DEBEISE 22 DCRCEISE 21 DTOEISE 20 CIDXEISE 19 CEBEISE 18 CCRCEISE 17 CTOEISE 16 EISE 15 CARDISE 8 CARDRISE 7 CARDIISE 6 BRRDYISE 5 BWRDYISE 4 DMAISE 3 BGISE 2 TXCISE 1 CCISE 0
SDHCSTAT2
Address 0xBF8EC03C
Reset 0x00000000
Access read only
Size 32-bit 6 fields
Field Bits What it does CNISSE 7 ACIDXE 4 ACEBE 3 ACCRCE 2 ACTOE 1 ACNEXEC 0
SDHCCAP
Address 0xBF8EC040
Reset 0x00000000
Access read only
Size 32-bit 11 fields
Field Bits What it does VOLT3V3 26 SRESUME 25 HISPEED 23 ADMA2 21 EIGHTBIT 20 MBLEN 19:18 BASECLK 15:8 TOCLKU 7 TOCLKFREQ 5:0 SLOTTYPE 1:0 ASYNCINT 31
SDHCMAXCAP
Address 0xBF8EC048
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does MC3V3 7:0
SDHCFE
Address 0xBF8EC050
Reset 0x00000000
Access write only
Size 32-bit 16 fields
Field Bits What it does FEAE 25 FEACE 24 FECLE 23 FEDEBE 22 FEDCRCE 21 FEDTOE 20 FEIDXE 19 FECEBE 18 FECCRCE 17 FECTOE 16 FECNIACE 7 FEACIDXERR 4 FEACEBERR 3 FEACCRCERR 2 FEACTOERR 1 FEACNEXECERR 0
SDHCAESTAT
Address 0xBF8EC054
Reset 0x00000000
Access read only
Size 32-bit 2 fields
Field Bits What it does ALMERR 2 AERRST 1:0
SDHCASADDR
Address 0xBF8EC058
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does ADDR 31:0