Searched refs:gpio_cd (Results 1 – 6 of 6) sorted by relevance
59 gpio_num_t gpio_cd; ///< GPIO number of card detect signal member74 .gpio_cd = SDSPI_SLOT_NO_CD, \199 gpio_num_t gpio_cd; ///< GPIO number of card detect signal member213 .gpio_cd = SDSPI_SLOT_NO_CD, \
67 gpio_num_t gpio_cd; ///< GPIO number of card detect signal member
47 uint8_t gpio_cd; //!< Card detect GPIO, or GPIO_UNUSED member142 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 …]
378 int gpio_cd = slot_config->cd; in sdmmc_host_init_slot() local450 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()
621 slot_config.gpio_cd = CD_WP_TEST_GPIO;657 dev_config.gpio_cd = CD_WP_TEST_GPIO;
370 .gpio_cd = SDSPI_SLOT_NO_CD, in sdspi_speed_test()