Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/driver/include/driver/
Dsdspi_host.h60 gpio_num_t gpio_wp; ///< GPIO number of write protect signal member
75 .gpio_wp = SDSPI_SLOT_NO_WP, \
200 gpio_num_t gpio_wp; ///< GPIO number of write protect signal member
214 .gpio_wp = SDSPI_SLOT_NO_WP, \
Dsdmmc_host.h71 gpio_num_t gpio_wp; ///< GPIO number of write protect signal member
/hal_espressif-3.4.0/components/driver/
Dsdspi_host.c48 uint8_t gpio_wp; //!< Write protect GPIO, or GPIO_UNUSED member
133 if (slot->gpio_wp == GPIO_UNUSED) { in card_write_protected()
136 return gpio_get_level(slot->gpio_wp) == 0; in card_write_protected()
236 if (slot->gpio_wp != GPIO_UNUSED) { in deinit_slot()
237 pin_bit_mask |= BIT64(slot->gpio_wp); in deinit_slot()
309 slot_config->gpio_cd, slot_config->gpio_wp); in sdspi_host_init_device()
355 if (slot_config->gpio_wp != SDSPI_SLOT_NO_WP) { in sdspi_host_init_device()
356 io_conf.pin_bit_mask |= (1ULL << slot_config->gpio_wp); in sdspi_host_init_device()
357 slot->gpio_wp = slot_config->gpio_wp; in sdspi_host_init_device()
359 slot->gpio_wp = GPIO_UNUSED; in sdspi_host_init_device()
[all …]
Dsdmmc_host.c379 int gpio_wp = slot_config->wp; in sdmmc_host_init_slot() local
463 if (gpio_wp != SDMMC_SLOT_NO_WP) { in sdmmc_host_init_slot()
464 ESP_LOGD(TAG, "using GPIO%d as WP pin", gpio_wp); in sdmmc_host_init_slot()
465 esp_rom_gpio_pad_select_gpio(gpio_wp); in sdmmc_host_init_slot()
466 gpio_set_direction(gpio_wp, GPIO_MODE_INPUT); in sdmmc_host_init_slot()
467 matrix_in_wp = gpio_wp; in sdmmc_host_init_slot()
/hal_espressif-3.4.0/components/sdmmc/test/
Dtest_sd.c636 slot_config.gpio_wp = CD_WP_TEST_GPIO;
680 dev_config.gpio_wp = CD_WP_TEST_GPIO;
/hal_espressif-3.4.0/components/fatfs/test/
Dtest_fatfs_sdmmc.c371 .gpio_wp = SDSPI_SLOT_NO_WP, in sdspi_speed_test()