/hal_espressif-3.4.0/examples/bluetooth/bluedroid/classic_bt/hfp_ag/main/ |
D | gpio_pcm_config.c | 26 gpio_config_t io_conf; in app_gpio_pcm_io_cfg() local 29 io_conf.intr_type = GPIO_INTR_DISABLE; in app_gpio_pcm_io_cfg() 31 io_conf.mode = GPIO_MODE_OUTPUT; in app_gpio_pcm_io_cfg() 33 io_conf.pin_bit_mask = GPIO_OUTPUT_PCM_PIN_SEL; in app_gpio_pcm_io_cfg() 35 io_conf.pull_down_en = 0; in app_gpio_pcm_io_cfg() 37 io_conf.pull_up_en = 0; in app_gpio_pcm_io_cfg() 39 gpio_config(&io_conf); in app_gpio_pcm_io_cfg() 43 io_conf.intr_type = GPIO_INTR_DISABLE; in app_gpio_pcm_io_cfg() 45 io_conf.pin_bit_mask = GPIO_INPUT_PCM_PIN_SEL; in app_gpio_pcm_io_cfg() 47 io_conf.mode = GPIO_MODE_INPUT; in app_gpio_pcm_io_cfg() [all …]
|
/hal_espressif-3.4.0/examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/ |
D | gpio_pcm_config.c | 26 gpio_config_t io_conf; in app_gpio_pcm_io_cfg() local 29 io_conf.intr_type = GPIO_INTR_DISABLE; in app_gpio_pcm_io_cfg() 31 io_conf.mode = GPIO_MODE_OUTPUT; in app_gpio_pcm_io_cfg() 33 io_conf.pin_bit_mask = GPIO_OUTPUT_PCM_PIN_SEL; in app_gpio_pcm_io_cfg() 35 io_conf.pull_down_en = 0; in app_gpio_pcm_io_cfg() 37 io_conf.pull_up_en = 0; in app_gpio_pcm_io_cfg() 39 gpio_config(&io_conf); in app_gpio_pcm_io_cfg() 43 io_conf.intr_type = GPIO_INTR_DISABLE; in app_gpio_pcm_io_cfg() 45 io_conf.pin_bit_mask = GPIO_INPUT_PCM_PIN_SEL; in app_gpio_pcm_io_cfg() 47 io_conf.mode = GPIO_MODE_INPUT; in app_gpio_pcm_io_cfg() [all …]
|
/hal_espressif-3.4.0/examples/peripherals/gpio/generic_gpio/main/ |
D | gpio_example_main.c | 63 gpio_config_t io_conf = {}; in app_main() local 65 io_conf.intr_type = GPIO_INTR_DISABLE; in app_main() 67 io_conf.mode = GPIO_MODE_OUTPUT; in app_main() 69 io_conf.pin_bit_mask = GPIO_OUTPUT_PIN_SEL; in app_main() 71 io_conf.pull_down_en = 0; in app_main() 73 io_conf.pull_up_en = 0; in app_main() 75 gpio_config(&io_conf); in app_main() 78 io_conf.intr_type = GPIO_INTR_POSEDGE; in app_main() 80 io_conf.pin_bit_mask = GPIO_INPUT_PIN_SEL; in app_main() 82 io_conf.mode = GPIO_MODE_INPUT; in app_main() [all …]
|
/hal_espressif-3.4.0/components/driver/test/ |
D | test_gpio.c | 91 gpio_config_t io_conf; in init_io() local 92 io_conf.intr_type = GPIO_INTR_DISABLE; in init_io() 93 io_conf.mode = GPIO_MODE_OUTPUT; in init_io() 94 io_conf.pin_bit_mask = (1ULL << num); in init_io() 95 io_conf.pull_down_en = 0; in init_io() 96 io_conf.pull_up_en = 0; in init_io() 97 return io_conf; in init_io() 453 gpio_config_t io_conf; variable 454 io_conf.intr_type = GPIO_INTR_DISABLE; 455 io_conf.mode = GPIO_MODE_OUTPUT; [all …]
|
D | test_dedicated_gpio.c | 74 gpio_config_t io_conf = { in test_dedic_gpio_on_specific_core() local 78 io_conf.pin_bit_mask = 1ULL << bundleA_gpios[i]; in test_dedic_gpio_on_specific_core() 79 gpio_config(&io_conf); in test_dedic_gpio_on_specific_core() 94 io_conf.mode = GPIO_MODE_INPUT_OUTPUT; in test_dedic_gpio_on_specific_core() 96 io_conf.pin_bit_mask = 1ULL << bundleB_gpios[i]; in test_dedic_gpio_on_specific_core() 97 gpio_config(&io_conf); in test_dedic_gpio_on_specific_core() 179 gpio_config_t io_conf = { variable 183 io_conf.pin_bit_mask = 1ULL << bundle_gpios[i]; 184 gpio_config(&io_conf);
|
/hal_espressif-3.4.0/examples/peripherals/rmt/step_motor/components/step_motor/src/ |
D | step_motor_driver_io_a4988.c | 22 gpio_config_t io_conf; in a4988_init() local 23 io_conf.intr_type = GPIO_INTR_DISABLE; in a4988_init() 24 io_conf.mode = GPIO_MODE_OUTPUT; in a4988_init() 26 io_conf.pin_bit_mask = BIT64(a4988_motor->conf.direction_pin) | in a4988_init() 33 io_conf.pull_down_en = 0; in a4988_init() 34 io_conf.pull_up_en = 0; in a4988_init() 35 ESP_ERROR_CHECK(gpio_config(&io_conf)); in a4988_init() 120 gpio_config_t io_conf; in a4988_deinit() local 121 io_conf.intr_type = GPIO_INTR_DISABLE; in a4988_deinit() 122 io_conf.mode = GPIO_MODE_INPUT; in a4988_deinit() [all …]
|
/hal_espressif-3.4.0/examples/peripherals/mcpwm/mcpwm_sync_example/main/ |
D | mcpwm_sync_example.c | 74 gpio_config_t io_conf = {}; in app_main() local 75 io_conf.intr_type = GPIO_INTR_DISABLE; in app_main() 76 io_conf.mode = GPIO_MODE_OUTPUT; in app_main() 77 io_conf.pin_bit_mask = BIT64(SIMU_GPIO_SYNC_SIMULATE_GPIO); in app_main() 78 io_conf.pull_down_en = 0; in app_main() 79 io_conf.pull_up_en = 0; in app_main() 80 ESP_ERROR_CHECK(gpio_config(&io_conf)); in app_main()
|
/hal_espressif-3.4.0/examples/system/ota/native_ota_example/main/ |
D | native_ota_example.c | 257 gpio_config_t io_conf; in diagnostic() local 258 io_conf.intr_type = GPIO_INTR_DISABLE; in diagnostic() 259 io_conf.mode = GPIO_MODE_INPUT; in diagnostic() 260 io_conf.pin_bit_mask = (1ULL << CONFIG_EXAMPLE_GPIO_DIAGNOSTIC); in diagnostic() 261 io_conf.pull_down_en = GPIO_PULLDOWN_DISABLE; in diagnostic() 262 io_conf.pull_up_en = GPIO_PULLUP_ENABLE; in diagnostic() 263 gpio_config(&io_conf); in diagnostic()
|
/hal_espressif-3.4.0/examples/protocols/mdns/main/ |
D | mdns_example_main.c | 214 gpio_config_t io_conf = {0}; in initialise_button() local 215 io_conf.intr_type = GPIO_INTR_DISABLE; in initialise_button() 216 io_conf.pin_bit_mask = BIT64(EXAMPLE_BUTTON_GPIO); in initialise_button() 217 io_conf.mode = GPIO_MODE_INPUT; in initialise_button() 218 io_conf.pull_up_en = 1; in initialise_button() 219 io_conf.pull_down_en = 0; in initialise_button() 220 gpio_config(&io_conf); in initialise_button()
|
/hal_espressif-3.4.0/examples/mesh/ip_internal_network/main/ |
D | mesh_main.c | 63 gpio_config_t io_conf = {0}; in initialise_button() local 64 io_conf.intr_type = GPIO_INTR_DISABLE; in initialise_button() 65 io_conf.pin_bit_mask = BIT64(EXAMPLE_BUTTON_GPIO); in initialise_button() 66 io_conf.mode = GPIO_MODE_INPUT; in initialise_button() 67 io_conf.pull_up_en = 1; in initialise_button() 68 io_conf.pull_down_en = 0; in initialise_button() 69 gpio_config(&io_conf); in initialise_button()
|
/hal_espressif-3.4.0/examples/peripherals/gpio/matrix_keyboard/components/matrix_keyboard/src/ |
D | matrix_keyboard.c | 117 gpio_config_t io_conf = { in matrix_kbd_install() local 123 io_conf.pin_bit_mask = 1ULL << config->row_gpios[i]; in matrix_kbd_install() 124 gpio_config(&io_conf); in matrix_kbd_install() 139 io_conf.pin_bit_mask = 1ULL << config->col_gpios[i]; in matrix_kbd_install() 140 gpio_config(&io_conf); in matrix_kbd_install()
|
/hal_espressif-3.4.0/components/driver/ |
D | sdspi_host.c | 328 gpio_config_t io_conf = { in sdspi_host_init_device() local 334 ret = gpio_config(&io_conf); in sdspi_host_init_device() 342 io_conf = (gpio_config_t) { in sdspi_host_init_device() 349 io_conf.pin_bit_mask |= (1ULL << slot_config->gpio_cd); in sdspi_host_init_device() 356 io_conf.pin_bit_mask |= (1ULL << slot_config->gpio_wp); in sdspi_host_init_device() 362 if (io_conf.pin_bit_mask != 0) { in sdspi_host_init_device() 363 ret = gpio_config(&io_conf); in sdspi_host_init_device() 372 io_conf = (gpio_config_t) { in sdspi_host_init_device() 378 ret = gpio_config(&io_conf); in sdspi_host_init_device()
|
/hal_espressif-3.4.0/examples/peripherals/spi_slave/receiver/main/ |
D | app_main.c | 122 gpio_config_t io_conf={ in app_main() local 129 gpio_config(&io_conf); in app_main()
|
/hal_espressif-3.4.0/components/app_update/test/ |
D | test_switch_ota.c | 283 gpio_config_t io_conf; in set_output_pin() local 284 io_conf.intr_type = GPIO_INTR_DISABLE; in set_output_pin() 285 io_conf.mode = GPIO_MODE_OUTPUT; in set_output_pin() 286 io_conf.pin_bit_mask = (1ULL << num_pin); in set_output_pin() 287 io_conf.pull_down_en = 0; in set_output_pin() 288 io_conf.pull_up_en = 0; in set_output_pin() 289 TEST_ESP_OK(gpio_config(&io_conf)); in set_output_pin()
|
/hal_espressif-3.4.0/examples/peripherals/mcpwm/mcpwm_capture_hc_sr04/main/ |
D | mcpwm_capture_hc_sr04.c | 105 gpio_config_t io_conf = { in app_main() local 112 ESP_ERROR_CHECK(gpio_config(&io_conf)); in app_main()
|
/hal_espressif-3.4.0/examples/peripherals/spi_slave/sender/main/ |
D | app_main.c | 137 gpio_config_t io_conf={ in app_main() local 154 gpio_config(&io_conf); in app_main()
|
/hal_espressif-3.4.0/components/esp_lcd/src/ |
D | esp_lcd_panel_ssd1306.c | 68 gpio_config_t io_conf = { in esp_lcd_new_panel_ssd1306() local 72 ESP_GOTO_ON_ERROR(gpio_config(&io_conf), err, TAG, "configure GPIO for RST line failed"); in esp_lcd_new_panel_ssd1306()
|
D | esp_lcd_panel_st7789.c | 55 gpio_config_t io_conf = { in esp_lcd_new_panel_st7789() local 59 ESP_GOTO_ON_ERROR(gpio_config(&io_conf), err, TAG, "configure GPIO for RST line failed"); in esp_lcd_new_panel_st7789()
|
D | esp_lcd_panel_nt35510.c | 55 gpio_config_t io_conf = { in esp_lcd_new_panel_nt35510() local 59 ESP_GOTO_ON_ERROR(gpio_config(&io_conf), err, TAG, "configure GPIO for RST line failed"); in esp_lcd_new_panel_nt35510()
|
D | esp_lcd_panel_io_spi.c | 79 gpio_config_t io_conf = { in esp_lcd_new_panel_io_spi() local 83 ESP_GOTO_ON_ERROR(gpio_config(&io_conf), err, TAG, "configure GPIO for D/C line failed"); in esp_lcd_new_panel_io_spi()
|
/hal_espressif-3.4.0/docs/en/api-reference/peripherals/ |
D | dedic_gpio.rst | 35 gpio_config_t io_conf = { 39 io_conf.pin_bit_mask = 1ULL << bundleA_gpios[i]; 40 gpio_config(&io_conf);
|
/hal_espressif-3.4.0/components/esp_system/test/ |
D | test_sleep.c | 555 gpio_config_t io_conf = { in gpio_deepsleep_wakeup_config() local 559 ESP_ERROR_CHECK(gpio_config(&io_conf)); in gpio_deepsleep_wakeup_config()
|