|
|
@@ -1029,7 +1029,7 @@ static uint8_t SDHC_Init(void) |
|
|
|
//SDHC_PROCTL &= ~SDHC_PROCTL_DMAS(3); // clear ADMA |
|
|
|
//SDHC_PROCTL |= SDHC_PROCTL_D3CD; |
|
|
|
//SDHC_PROCTL = SDHC_PROCTL_EMODE(SDHC_PROCTL_EMODE_INVARIANT) | SDHC_PROCTL_D3CD; |
|
|
|
SDHC_PROCTL = SDHC_PROCTL & ~(SDHC_PROCTL_EMODE(3)) |
|
|
|
SDHC_PROCTL = (SDHC_PROCTL & ~(SDHC_PROCTL_EMODE(3))) |
|
|
|
| (SDHC_PROCTL_EMODE(SDHC_PROCTL_EMODE_INVARIANT) | SDHC_PROCTL_D3CD ); |
|
|
|
//SDHC_WML = SDHC_WML_RDWML(SDHC_FIFO_BUFFER_SIZE) | SDHC_WML_WRWML(SDHC_FIFO_BUFFER_SIZE); |
|
|
|
//Serial.printf("SDHC_WML = %08X\n", SDHC_WML); // prints 08100810 (good) |