Home
last modified time | relevance | path

Searched refs:gpio_cd (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.6.0/components/driver/include/driver/
Dsdspi_host.h59 gpio_num_t gpio_cd; ///< GPIO number of card detect signal member
74 .gpio_cd = SDSPI_SLOT_NO_CD, \
199 gpio_num_t gpio_cd; ///< GPIO number of card detect signal member
213 .gpio_cd = SDSPI_SLOT_NO_CD, \
Dsdmmc_host.h67 gpio_num_t gpio_cd; ///< GPIO number of card detect signal member
/hal_espressif-3.6.0/components/driver/
Dsdspi_host.c47 uint8_t gpio_cd; //!< Card detect GPIO, or GPIO_UNUSED member
142 if (slot->gpio_cd == GPIO_UNUSED) { in card_missing()
145 return gpio_get_level(slot->gpio_cd) == 1; in card_missing()
233 if (slot->gpio_cd != GPIO_UNUSED) { in deinit_slot()
234 pin_bit_mask |= BIT64(slot->gpio_cd); in deinit_slot()
309 slot_config->gpio_cd, slot_config->gpio_wp); in sdspi_host_init_device()
348 if (slot_config->gpio_cd != SDSPI_SLOT_NO_CD) { in sdspi_host_init_device()
349 io_conf.pin_bit_mask |= (1ULL << slot_config->gpio_cd); in sdspi_host_init_device()
350 slot->gpio_cd = slot_config->gpio_cd; in sdspi_host_init_device()
352 slot->gpio_cd = GPIO_UNUSED; in sdspi_host_init_device()
[all …]
Dsdmmc_host.c378 int gpio_cd = slot_config->cd; in sdmmc_host_init_slot() local
450 if (gpio_cd != SDMMC_SLOT_NO_CD) { in sdmmc_host_init_slot()
451 ESP_LOGD(TAG, "using GPIO%d as CD pin", gpio_cd); in sdmmc_host_init_slot()
452 esp_rom_gpio_pad_select_gpio(gpio_cd); in sdmmc_host_init_slot()
453 gpio_set_direction(gpio_cd, GPIO_MODE_INPUT); in sdmmc_host_init_slot()
454 matrix_in_cd = gpio_cd; in sdmmc_host_init_slot()
/hal_espressif-3.6.0/components/sdmmc/test/
Dtest_sd.c621 slot_config.gpio_cd = CD_WP_TEST_GPIO;
657 dev_config.gpio_cd = CD_WP_TEST_GPIO;
/hal_espressif-3.6.0/components/fatfs/test/
Dtest_fatfs_sdmmc.c370 .gpio_cd = SDSPI_SLOT_NO_CD, in sdspi_speed_test()