Home
last modified time | relevance | path

Searched refs:gpio_get_level (Results 1 – 25 of 35) sorted by relevance

12

/hal_espressif-3.5.0/components/driver/test/
Dtest_gpio.c104 …("GPIO[%d] intr on core %d, val: %d\n", gpio_num, cpu_hal_get_core_id(), gpio_get_level(gpio_num)); in gpio_isr_edge_handler()
115 …esp_rom_printf("GPIO[%d] intr, val: %d, disable_intr_times = %d\n", gpio_num, gpio_get_level(gpio_… in gpio_isr_level_handler()
124 esp_rom_printf("GPIO[%d] intr, val: %d\n", gpio_num, gpio_get_level(gpio_num)); in gpio_isr_level_handler2()
125 if (gpio_get_level(gpio_num)) { in gpio_isr_level_handler2()
130 …O[%d] intr, val: %d, level_intr_times = %d\n", TEST_GPIO_EXT_OUT_IO, gpio_get_level(TEST_GPIO_EXT_… in gpio_isr_level_handler2()
131 …esp_rom_printf("GPIO[%d] intr, val: %d, level_intr_times = %d\n", gpio_num, gpio_get_level(gpio_nu… in gpio_isr_level_handler2()
348 printf("get level:%d\n", gpio_get_level(TEST_GPIO_EXT_IN_IO));
467 …TEST_ASSERT_EQUAL_INT_MESSAGE(gpio_get_level(TEST_GPIO_EXT_IN_IO), 0, "get level error! the level …
471 …TEST_ASSERT_EQUAL_INT_MESSAGE(gpio_get_level(TEST_GPIO_EXT_IN_IO), 1, "get level error! the level …
487 int level1 = gpio_get_level(num1);
[all …]
Dtest_pwm.c268 TEST_ASSERT_EQUAL(0, gpio_get_level(TEST_PWMA_GPIO)); in mcpwm_check_generator_level_on_fault()
270 TEST_ASSERT_EQUAL(1, gpio_get_level(TEST_PWMA_GPIO)); in mcpwm_check_generator_level_on_fault()
274 TEST_ASSERT_EQUAL(0, gpio_get_level(TEST_PWMB_GPIO)); in mcpwm_check_generator_level_on_fault()
276 TEST_ASSERT_EQUAL(1, gpio_get_level(TEST_PWMB_GPIO)); in mcpwm_check_generator_level_on_fault()
/hal_espressif-3.5.0/examples/system/light_sleep/main/
Dlight_sleep_example_main.c54 if (gpio_get_level(button_gpio_num) == wakeup_level) { in app_main()
58 } while (gpio_get_level(button_gpio_num) == wakeup_level); in app_main()
/hal_espressif-3.5.0/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/main/
Dmcpwm_bldc_hall_control_example_main.c49 …uint32_t hall_val = gpio_get_level(HALL_CAP_U_GPIO) * 4 + gpio_get_level(HALL_CAP_V_GPIO) * 2 + gp… in bldc_get_hall_sensor_value()
/hal_espressif-3.5.0/examples/storage/nvs_rw_blob/main/
Dnvs_blob_example_main.c183 if (gpio_get_level(BOOT_MODE_PIN) == 0) { in app_main()
185 if(gpio_get_level(BOOT_MODE_PIN) == 0) { in app_main()
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/common_components/button/
Dbutton.c89 if (btn->active_level == gpio_get_level(btn->io_num)) { in button_press_cb()
109 int lv = gpio_get_level(btn->io_num); in button_tap_psh_cb()
150 if (btn->active_level == gpio_get_level(btn->io_num)) { in button_tap_rls_cb()
198 int level = gpio_get_level(btn->io_num); in button_gpio_isr_handler()
/hal_espressif-3.5.0/examples/peripherals/spi_master/hd_eeprom/components/eeprom/
Dlinker.lf13 # gpio_set_level, gpio_get_level, gpio_context, _gpio_hal, etc...
Dspi_eeprom.c97 if (gpio_get_level(ctx->cfg.miso_io)) { in eeprom_wait_done()
/hal_espressif-3.5.0/examples/peripherals/gpio/generic_gpio/main/
Dgpio_example_main.c55 printf("GPIO[%d] intr, val: %d\n", io_num, gpio_get_level(io_num)); in gpio_task_example()
/hal_espressif-3.5.0/components/driver/include/driver/
Dgpio.h152 int gpio_get_level(gpio_num_t gpio_num);
/hal_espressif-3.5.0/examples/cxx/experimental/experimental_cpp_component/
Dgpio_cxx.cpp166 int level = gpio_get_level(gpio_to_driver_type(gpio_num)); in get_level()
/hal_espressif-3.5.0/components/driver/
Dsdspi_host.c136 return gpio_get_level(slot->gpio_wp) == 0; in card_write_protected()
145 return gpio_get_level(slot->gpio_cd) == 1; in card_missing()
936 if (gpio_get_level(slot->gpio_int)==0) return ESP_OK; in sdspi_host_io_int_wait()
Dsdmmc_host.c638 if (gpio_get_level(GPIO_NUM(slot, d1)) == 0) { in sdmmc_host_io_int_wait()
Dgpio.c231 int gpio_get_level(gpio_num_t gpio_num) in gpio_get_level() function
Di2c.c576 while (!gpio_get_level(sda_io) && (i++ < I2C_CLR_BUS_SCL_NUM)) { in i2c_master_clear_bus()
/hal_espressif-3.5.0/examples/system/ota/native_ota_example/main/
Dnative_ota_example.c268 bool diagnostic_is_ok = gpio_get_level(CONFIG_EXAMPLE_GPIO_DIAGNOSTIC); in diagnostic()
/hal_espressif-3.5.0/docs/zh_CN/api-guides/
Dunit-tests-legacy.rst62 TEST_ASSERT(gpio_get_level(MASTER_GPIO_PIN) == 1);
Dunit-tests.rst62 TEST_ASSERT(gpio_get_level(MASTER_GPIO_PIN) == 1);
/hal_espressif-3.5.0/examples/protocols/mdns/main/
Dmdns_example_main.c226 bool new_level = gpio_get_level(EXAMPLE_BUTTON_GPIO); in check_button()
/hal_espressif-3.5.0/examples/mesh/ip_internal_network/main/
Dmesh_main.c107 new_level = gpio_get_level(EXAMPLE_BUTTON_GPIO); in check_button()
/hal_espressif-3.5.0/docs/en/api-guides/
Dunit-tests-legacy.rst58 TEST_ASSERT(gpio_get_level(MASTER_GPIO_PIN) == 1);
Dunit-tests.rst62 TEST_ASSERT(gpio_get_level(MASTER_GPIO_PIN) == 1);
/hal_espressif-3.5.0/components/esp_eth/src/
Desp_eth_mac_w5500.c322 gpio_get_level(emac->int_gpio_num) != 0) { // ...and no interrupt asserted in emac_w5500_task()
Desp_eth_mac_dm9051.c395 gpio_get_level(emac->int_gpio_num) == 0) { // ...and no interrupt asserted in emac_dm9051_task()
/hal_espressif-3.5.0/examples/ethernet/enc28j60/components/eth_enc28j60/
Desp_eth_mac_enc28j60.c735 gpio_get_level(emac->int_gpio_num) != 0) { // ...and no interrupt asserted in emac_enc28j60_task()

12