Open snakehand opened 11 months ago
I am trying to get a SDMMC example working on STM32L431 and discovered that the SDMMC peripheral was not clocked by the APB2 clock unless I added the following code:
unsafe { pac::RCC.apb2enr().modify(|w| w.set_sdmmcen(true)); }
Feel free to submit a PR to enable the register for your chip during SDMMC initialization :)
I am trying to get a SDMMC example working on STM32L431 and discovered that the SDMMC peripheral was not clocked by the APB2 clock unless I added the following code: