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 |
The 16 registers of SDHC (SD host controller), from 0xBF8EC004, with their reset value and every field. The PIC32MZ1064DAB169 has 2254 registers in 102 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.
0xBF8EC0040x00000000| Field | Bits | What it does |
|---|---|---|
| BLKSIZE | 9:0 | |
| BLKCNT | 31:16 |
0xBF8EC0080x00000000| Field | Bits | What it does |
|---|---|---|
| ARG | 31:0 |
0xBF8EC00C0x00000000| Field | Bits | What it does |
|---|---|---|
| CIDX | 29:24 | |
| CTYPE | 23:22 | Command Type bits
|
| DPRESSEL | 21 | |
| CIDXCEN | 20 | Command Index Check Enable bit
|
| CCRCCEN | 19 | Command CRC Check Enable bit
|
| RESPTYPE | 17:16 | Response Type Select bits
|
| BSEL | 5 | Multiple/Single Block Select bit
|
| DTXDIRSEL | 4 | |
| ACEN | 3:2 | Auto CMD12 Enable bits
|
| BCEN | 1 | Block Count Enable Bit
|
| DMAEN | 0 | DMA Enable bit
|
0xBF8EC0200x00000000| Field | Bits | What it does |
|---|---|---|
| DATA | 31:0 |
0xBF8EC0240x00000000| Field | Bits | What it does |
|---|---|---|
| CMDSLVL | 24 | Command Line Signal Level bit
|
| DATA3SLVL | 23 | DATA3 Signal Level bit
|
| DATA2SLVL | 22 | DATA2 Signal Level bit
|
| DATA1SLVL | 21 | DATA1 Signal Level bit
|
| DATA0SLVL | 20 | DATA0 Signal Level bit
|
| WPSLVL | 19 | Write-protect Signal Level bit
|
| CDSLVL | 18 | Card Detect Signal Level bit
|
| CARDST | 17 | Card State Stable bit
|
| CARDINS | 16 | Card Inserted bit
|
| BREN | 11 | Buffer Read Enable bit
|
| BWEN | 10 | Buffer Write Enable bit
|
| RDACTIVE | 9 | Read Transfer Active bit
|
| WRACTIVE | 8 | Write Transfer Active bit
|
| DLACTIVE | 2 | DAT Line Active bit
|
| CINHDAT | 1 | Command Inhibit bit (DAT) bit
|
| CINHCMD | 0 | Command Inhibit bit (CMD) bit
|
0xBF8EC0280x00000000| Field | Bits | What it does |
|---|---|---|
| WKONREM | 26 | Wake-up Event Enable on SD Card Removal bit
|
| WKONINS | 25 | Wake-up Event Enable on SD Card Insertion bit
|
| WKONINT | 24 | Wake-up Event Enable on SD Card Interrupt bit
|
| INTBG | 19 | Interrupt at Block Gap bit
|
| RDWTCON | 18 | Read Wait Control bit
|
| CONTREQ | 17 | Continue Request bit
|
| SBGREQ | 16 | Stop at Block Gap Request bit
|
| SDBP | 8 | SD Bus Power bit
|
| CDSSEL | 7 | Card Detect Signal Selection bit
|
| CDTLVL | 6 | Card Detect Test Level bit
|
| DMASEL | 4:3 | DMA Select bits
|
| HSEN | 2 | High-Speed Enable bit
|
| DTXWIDTH | 1 | Data Transfer Width bit
|
0xBF8EC02C0x00000000| Field | Bits | What it does |
|---|---|---|
| SWRDAT | 26 | |
| SWRCMD | 25 | Software Reset for CMD Line bit
|
| SWRALL | 24 | Software Reset for All bit
|
| DTOC | 19:16 | Data Time-out Counter Value bits
|
| SDCLKDIV | 15:8 | |
| SDCLKEN | 2 | SD Clock Enable bit
|
| ICLKSTABLE | 1 | Internal Clock Stable bit
|
| ICLKEN | 0 | Internal Clock Enable bit
|
0xBF8EC0300x03FF81FF| Field | Bits | What it does |
|---|---|---|
| ADEIF | 25 | ADMA Error Interrupt Flag bit
|
| ACEIF | 24 | Auto CMD12 Error Interrupt Flag bit
|
| CLEIF | 23 | Current-Limit Error Interrupt Flag bit
|
| DEBEIF | 22 | Data End Bit Error Interrupt Flag bit
|
| DCRCEIF | 21 | Data CRC Error Interrupt Flag bit
|
| DTOEIF | 20 | Data Time-out Error Interrupt Flag bit
|
| CIDXEIF | 19 | Command Index Error Interrupt Flag bit
|
| CEBEIF | 18 | Command End Bit Error Interrupt Flag bit
|
| CCRCEIF | 17 | Command CRC Error Interrupt Flag bit
|
| CTOEIF | 16 | Command Time-out Error Interrupt Flag bit
|
| EIF | 15 | Error Interrupt Flag bit
|
| CARDIF | 8 | Card Interrupt Status bit
|
| CARDRIF | 7 | Card Removal Interrupt Flag bit
|
| CARDIIF | 6 | Card Insertion Interrupt Flag bit
|
| BRRDYIF | 5 | Buffer Read Ready Interrupt Flag bit
|
| BWRDYIF | 4 | Buffer Write Ready Interrupt Flag bit
|
| DMAIF | 3 | DMA Interrupt Status bit
|
| BGIF | 2 | Block Gap Interrupt Flag bit
|
| TXCIF | 1 | |
| CCIF | 0 |
0xBF8EC0340x00000000| 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 | Card Interrupt Flag Enable bit
|
| CARDRIE | 7 | Card Removal Interrupt Flag Enable bit
|
| CARDIIE | 6 | Card Insertion Interrupt Flag Enable bit
|
| BRRDYIE | 5 | Buffer Read Ready Interrupt Flag Enable bit
|
| BWRDYIE | 4 | Buffer Write Ready Interrupt Flag Enable bit
|
| DMAIE | 3 | DMA Interrupt Flag Enable bit
|
| BGIE | 2 | Block Gap Interrupt Flag Enable bit
|
| TXCIE | 1 | |
| CCIE | 0 |
0xBF8EC0380x00000000| Field | Bits | What it does |
|---|---|---|
| ADEISE | 25 | ADMA Error Interrupt Signal Enable bit
|
| ACEISE | 24 | Auto CMD12 Error Interrupt Signal Enable bit
|
| CLEISE | 23 | Current-Limit Error Interrupt Signal Enable bit
|
| DEBEISE | 22 | Data End Bit Error Interrupt Signal Enable bit
|
| DCRCEISE | 21 | Data CRC Error Interrupt Signal Enable bit
|
| DTOEISE | 20 | Data Time-out Error Interrupt Signal Enable bit
|
| CIDXEISE | 19 | Command Index Error Interrupt Signal Enable bit
|
| CEBEISE | 18 | Command End Bit Error Interrupt Signal Enable bit
|
| CCRCEISE | 17 | Command CRC Error Interrupt Signal Enable bit
|
| CTOEISE | 16 | Command Time-out Error Interrupt Signal Enable bit
|
| EISE | 15 | |
| CARDISE | 8 | Card Interrupt Signal Enable bit
|
| CARDRISE | 7 | Card Removal Interrupt Signal Enable bit
|
| CARDIISE | 6 | Card Insertion Interrupt Signal Enable bit
|
| BRRDYISE | 5 | Buffer Read Ready Interrupt Signal Enable bit
|
| BWRDYISE | 4 | Buffer Write Ready Interrupt Signal Enable bit
|
| DMAISE | 3 | DMA Interrupt Signal Enable bit
|
| BGISE | 2 | Block Gap Interrupt Signal Enable bit
|
| TXCISE | 1 | |
| CCISE | 0 |
0xBF8EC03C0x00000000| Field | Bits | What it does |
|---|---|---|
| CNISSE | 7 | Command Not Issued by Auto CMD12 Error bit
|
| ACIDXE | 4 | Auto CMD12 Index Error bit
|
| ACEBE | 3 | Auto CMD12 End Bit Error bit
|
| ACCRCE | 2 | Auto CMD12 CRC Error bit
|
| ACTOE | 1 | Auto CMD12 Time-out Error bit
|
| ACNEXEC | 0 | Auto CMD12 Not Executed bit
|
0xBF8EC0400x00000000| Field | Bits | What it does |
|---|---|---|
| VOLT3V3 | 26 | 3.3V Voltage Support bit
|
| SRESUME | 25 | Suspend/Resume Support bit
|
| HISPEED | 23 | High-speed Support bit
|
| ADMA2 | 21 | ADMA2 Support bit
|
| EIGHTBIT | 20 | |
| MBLEN | 19:18 | Maximum Block Length bits
|
| BASECLK | 15:8 | Base Clock Frequency for SDCLK bits
|
| TOCLKU | 7 | Time-out Clock Unit bit
|
| TOCLKFREQ | 5:0 | Time-out Clock Frequency bits
|
| SLOTTYPE | 1:0 | |
| ASYNCINT | 31 |
0xBF8EC0480x00000000| Field | Bits | What it does |
|---|---|---|
| MC3V3 | 7:0 | Maximum Current for 3.3V bits
|
0xBF8EC0500x00000000| Field | Bits | What it does |
|---|---|---|
| FEAE | 25 | |
| FEACE | 24 | Force Event for Auto CMD 12 Error bit
|
| FECLE | 23 | Force Event for Current-Limit Error bit
|
| FEDEBE | 22 | Force Event for Data End Bit Error bit
|
| FEDCRCE | 21 | Force Event for Data CRC Error bit
|
| FEDTOE | 20 | Force Event for Data Time-out Error bit
|
| FEIDXE | 19 | Force Event for Command Index Error bit
|
| FECEBE | 18 | Force Event for Command End Bit Error bit
|
| FECCRCE | 17 | Force Event for Command CRC Error bit
|
| FECTOE | 16 | Force Event for Command Time-out Error bit
|
| FECNIACE | 7 | Force Event for Command Not Issued by Auto CMD12 Error bit
|
| FEACIDXERR | 4 | |
| FEACEBERR | 3 | |
| FEACCRCERR | 2 | |
| FEACTOERR | 1 | |
| FEACNEXECERR | 0 |
0xBF8EC0540x00000000| Field | Bits | What it does |
|---|---|---|
| ALMERR | 2 | |
| AERRST | 1:0 |
0xBF8EC0580x00000000| Field | Bits | What it does |
|---|---|---|
| ADDR | 31:0 |