50 if (!sdc_lld_is_card_inserted (NULL)) {
64 PAL_STM32_OSPEED_HIGHEST | PAL_STM32_PUPDR_FLOATING | PAL_STM32_MODE_ALTERNATE;
74 chThdSleepMilliseconds(100);
77 sdcStart(&SDCD1, NULL);
78 while (sdcConnect(&SDCD1) != HAL_SUCCESS) {
79 chThdSleepMilliseconds(100);
91 if (sdcDisconnect(&SDCD1)) {
101 return sdc_lld_is_card_inserted (NULL);