当程序运行到 void SDIO_DeInit(void) { SDIO->POWER = 0x00000000; SDIO->CLKCR = 0x00000000; SDIO->ARG = 0x00000000; SDIO->CMD = 0x00000000; SDIO->DTIMER = 0x00000000; SDIO->DLEN = 0x00000000; SDIO->DCTRL = 0x00000000; SDIO->ICR = 0x00C007FF; SDIO->MASK = 0x00000000; } 这个函数时,执行SDIO->CLKCR = 0x00000000;程序会跳转到 void HardFaultException(void) { /* Go to infinite loop when Hard Fault exception occurs */ while (1) {} } 这个中断里,然后就出不来了,不知道怎么回事 |