/hal_espressif-3.6.0/examples/ethernet/enc28j60/components/eth_enc28j60/ |
D | esp_eth_mac_enc28j60.c | 184 esp_err_t ret = ESP_OK; in enc28j60_do_register_write() 195 if (spi_device_polling_transmit(emac->spi_hdl, &trans) != ESP_OK) { in enc28j60_do_register_write() 211 esp_err_t ret = ESP_OK; in enc28j60_do_register_read() 219 if (spi_device_polling_transmit(emac->spi_hdl, &trans) != ESP_OK) { in enc28j60_do_register_read() 238 esp_err_t ret = ESP_OK; in enc28j60_do_bitwise_set() 249 if (spi_device_polling_transmit(emac->spi_hdl, &trans) != ESP_OK) { in enc28j60_do_bitwise_set() 266 esp_err_t ret = ESP_OK; in enc28j60_do_bitwise_clr() 277 if (spi_device_polling_transmit(emac->spi_hdl, &trans) != ESP_OK) { in enc28j60_do_bitwise_clr() 293 esp_err_t ret = ESP_OK; in enc28j60_do_memory_write() 301 if (spi_device_polling_transmit(emac->spi_hdl, &trans) != ESP_OK) { in enc28j60_do_memory_write() [all …]
|
D | esp_eth_phy_enc28j60.c | 110 …HY_CHECK(eth->phy_reg_read(eth, enc28j60->addr, ETH_PHY_PHSTAT2_REG_ADDR, &(phstat.val)) == ESP_OK, in enc28j60_update_link_duplex_speed() 122 PHY_CHECK(eth->on_state_changed(eth, ETH_STATE_SPEED, (void *)speed) == ESP_OK, in enc28j60_update_link_duplex_speed() 124 PHY_CHECK(eth->on_state_changed(eth, ETH_STATE_DUPLEX, (void *)duplex) == ESP_OK, in enc28j60_update_link_duplex_speed() 127 PHY_CHECK(eth->on_state_changed(eth, ETH_STATE_LINK, (void *)link) == ESP_OK, in enc28j60_update_link_duplex_speed() 131 return ESP_OK; in enc28j60_update_link_duplex_speed() 141 return ESP_OK; in enc28j60_set_mediator() 150 …PHY_CHECK(enc28j60_update_link_duplex_speed(enc28j60) == ESP_OK, "update link duplex speed failed"… in enc28j60_get_link() 151 return ESP_OK; in enc28j60_get_link() 162 PHY_CHECK(eth->phy_reg_write(eth, enc28j60->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val) == ESP_OK, in enc28j60_reset() 168 … PHY_CHECK(eth->phy_reg_read(eth, enc28j60->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)) == ESP_OK, in enc28j60_reset() [all …]
|
/hal_espressif-3.6.0/components/driver/esp32s3/ |
D | touch_sensor.c | 100 return ESP_OK; in touch_pad_set_meas_time() 112 return ESP_OK; in touch_pad_get_meas_time() 121 return ESP_OK; in touch_pad_set_idle_channel_connect() 128 return ESP_OK; in touch_pad_get_idle_channel_connect() 143 return ESP_OK; in touch_pad_set_channel_mask() 153 return ESP_OK; in touch_pad_get_channel_mask() 162 return ESP_OK; in touch_pad_clear_channel_mask() 178 return ESP_OK; in touch_pad_intr_enable() 189 return ESP_OK; in touch_pad_intr_disable() 198 return ESP_OK; in touch_pad_intr_clear() [all …]
|
/hal_espressif-3.6.0/components/mdns/test/ |
D | test_mdns.c | 26 TEST_ASSERT_NOT_EQUAL(ESP_OK, mdns_init() ); 27 TEST_ASSERT_NOT_EQUAL(ESP_OK, mdns_hostname_set(MDNS_HOSTNAME) ); 28 TEST_ASSERT_NOT_EQUAL(ESP_OK, mdns_instance_name_set(MDNS_INSTANCE) ); 29 …TEST_ASSERT_NOT_EQUAL(ESP_OK, mdns_service_add(MDNS_INSTANCE, MDNS_SERVICE_NAME, MDNS_SERVICE_PROT… 35 TEST_ASSERT_EQUAL(ESP_OK, esp_event_loop_create_default()); 36 TEST_ASSERT_EQUAL(ESP_OK, mdns_init() ); 55 TEST_ASSERT_EQUAL(ESP_OK, esp_event_loop_create_default()); 57 TEST_ASSERT_EQUAL(ESP_OK, mdns_init() ); 58 TEST_ASSERT_EQUAL(ESP_OK, mdns_hostname_set(MDNS_HOSTNAME) ); 59 TEST_ASSERT_EQUAL(ESP_OK, mdns_delegate_hostname_add(MDNS_DELEGATE_HOSTNAME, &addr) ); [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_nvs_handle.cpp | 37 == ESP_OK); 42 …VSPartitionManager::get_instance()->open_handle("test", "ns_1", NVS_READWRITE, &handle) == ESP_OK); 50 REQUIRE(NVSPartitionManager::get_instance()->deinit_partition("test") == ESP_OK); 61 == ESP_OK); 68 …SPartitionManager::get_instance()->open_handle("test", "ns_1", NVS_READWRITE, &handle1) == ESP_OK); 72 …SPartitionManager::get_instance()->open_handle("test", "ns_1", NVS_READWRITE, &handle2) == ESP_OK); 84 REQUIRE(NVSPartitionManager::get_instance()->deinit_partition("test") == ESP_OK); 99 …ger::get_instance()->init_custom(&f.part, NVS_FLASH_SECTOR, NVS_FLASH_SECTOR_COUNT_MIN) == ESP_OK); 103 …r::get_instance()->open_handle(NVS_DEFAULT_PART_NAME, "ns_1", NVS_READWRITE, &handle_1) == ESP_OK); 109 …er::get_instance()->open_handle(NVS_DEFAULT_PART_NAME, "ns_1", NVS_READONLY, &handle_2) == ESP_OK); [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/host_test/fixtures/ |
D | test_fixtures.hpp | 106 assert(part.init(cfg) == ESP_OK); in EncryptedPartitionFixture() 143 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in NVSPageFixture() 147 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in NVSPageFixture() 151 … if (page.load(&part_mock, start_sector) != ESP_OK) throw FixtureException("couldn't setup page"); in NVSPageFixture() 185 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); 189 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); 193 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); 197 esp_partition_read_ExpectAnyArgsAndReturn(ESP_OK); 201 esp_partition_read_ExpectAnyArgsAndReturn(ESP_OK); 205 esp_partition_read_ExpectAnyArgsAndReturn(ESP_OK); [all …]
|
/hal_espressif-3.6.0/components/driver/esp32s2/ |
D | touch_sensor.c | 111 …if ( (ret == ESP_OK) && (reg_flag == false) && (intr_mask & (TOUCH_PAD_INTR_MASK_SCAN_DONE | TOUCH… in touch_pad_isr_register() 126 return ESP_OK; in touch_pad_set_meas_time() 136 return ESP_OK; in touch_pad_get_meas_time() 145 return ESP_OK; in touch_pad_set_idle_channel_connect() 152 return ESP_OK; in touch_pad_get_idle_channel_connect() 167 return ESP_OK; in touch_pad_set_channel_mask() 177 return ESP_OK; in touch_pad_get_channel_mask() 186 return ESP_OK; in touch_pad_clear_channel_mask() 202 return ESP_OK; in touch_pad_intr_enable() 213 return ESP_OK; in touch_pad_intr_disable() [all …]
|
/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/test/ |
D | test_cdc_acm_host.c | 53 TEST_ASSERT_EQUAL(ESP_OK, usb_new_phy(&phy_config, &phy_hdl)); in usb_lib_task() 59 TEST_ASSERT_EQUAL(ESP_OK, usb_host_install(&host_config)); in usb_lib_task() 81 TEST_ASSERT_EQUAL(ESP_OK, usb_host_uninstall()); in usb_lib_task() 83 TEST_ASSERT_EQUAL(ESP_OK, usb_del_phy(phy_hdl)); in usb_lib_task() 95 TEST_ASSERT_EQUAL(ESP_OK, cdc_acm_host_install(NULL)); in test_install_cdc_driver() 125 TEST_ASSERT_EQUAL(ESP_OK, cdc_acm_host_close(cdc_hdl)); in notif_cb() 152 …TEST_ASSERT_EQUAL(ESP_OK, cdc_acm_host_open(0x303A, 0x4002, 0, &dev_config, &cdc_dev)); // 0x303A:… 157 TEST_ASSERT_EQUAL(ESP_OK, cdc_acm_host_data_tx_blocking(cdc_dev, tx_buf, sizeof(tx_buf), 1000)); 158 TEST_ASSERT_EQUAL(ESP_OK, cdc_acm_host_data_tx_blocking(cdc_dev, tx_buf, sizeof(tx_buf), 1000)); 171 TEST_ASSERT_EQUAL(ESP_OK, cdc_acm_host_line_coding_set(cdc_dev, &line_coding_set)); [all …]
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32h2/ |
D | esp_memprot.c | 19 return ESP_OK; in esp_mprot_set_split_addr() 30 return ESP_OK; in esp_mprot_get_split_addr() 41 return ESP_OK; in esp_mprot_get_default_main_split_addr() 46 return ESP_OK; in esp_mprot_set_split_addr_lock() 57 return ESP_OK; in esp_mprot_get_split_addr_lock() 62 return ESP_OK; in esp_mprot_set_pms_lock() 73 return ESP_OK; in esp_mprot_get_pms_lock() 78 return ESP_OK; in esp_mprot_set_pms_area() 89 return ESP_OK; in esp_mprot_get_pms_area() 94 return ESP_OK; in esp_mprot_set_monitor_lock() [all …]
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s3/ |
D | esp_memprot.c | 19 return ESP_OK; in esp_mprot_set_split_addr() 30 return ESP_OK; in esp_mprot_get_split_addr() 41 return ESP_OK; in esp_mprot_get_default_main_split_addr() 46 return ESP_OK; in esp_mprot_set_split_addr_lock() 57 return ESP_OK; in esp_mprot_get_split_addr_lock() 62 return ESP_OK; in esp_mprot_set_pms_lock() 73 return ESP_OK; in esp_mprot_get_pms_lock() 78 return ESP_OK; in esp_mprot_set_pms_area() 89 return ESP_OK; in esp_mprot_get_pms_area() 94 return ESP_OK; in esp_mprot_set_monitor_lock() [all …]
|
/hal_espressif-3.6.0/components/esp_netif/test/ |
D | test_esp_netif.c | 92 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_get_status(sta, &state)); 96 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_get_status(sta, &state)); 100 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_stop(sta)); 101 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_get_status(sta, &state)); 103 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_start(sta)); 104 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_get_status(sta, &state)); 107 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_get_status(sta, &state)); 112 TEST_ASSERT_EQUAL(ESP_OK, esp_netif_dhcpc_get_status(sta, &state)); 118 TEST_ASSERT(esp_wifi_stop() == ESP_OK); 119 TEST_ASSERT(esp_wifi_deinit() == ESP_OK); [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/host_test/nvs_page_test/main/ |
D | nvs_page_test.cpp | 42 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load_reading_data_fails() 59 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__uninitialized_page_has_0xfe() 62 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__uninitialized_page_has_0xfe() 66 TEST_ASSERT_EQUAL(ESP_OK, page.load(&fix.part_mock, 0)); in test_Page_load__uninitialized_page_has_0xfe() 81 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__initialized_corrupt_header() 85 TEST_ASSERT_EQUAL(ESP_OK, page.load(&fix.part_mock, 0)); in test_Page_load__initialized_corrupt_header() 111 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__corrupt_entry_table() 115 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__corrupt_entry_table() 119 esp_partition_read_raw_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__corrupt_entry_table() 123 esp_partition_read_ExpectAnyArgsAndReturn(ESP_OK); in test_Page_load__corrupt_entry_table() [all …]
|
/hal_espressif-3.6.0/components/esp_eth/test_apps/main/ |
D | esp_eth_test.c | 66 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_driver_install(&config, ð_handle)); // install driver 68 TEST_ASSERT_EQUAL(ESP_OK, esp_event_loop_create_default()); 70 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_start(eth_handle)); // start Ethernet driver state machine 76 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_stop(eth_handle)); 81 TEST_ASSERT_EQUAL(ESP_OK, esp_event_loop_delete_default()); 82 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_driver_uninstall(eth_handle)); 117 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_driver_install(&config, ð_handle)); // install driver 119 TEST_ASSERT_EQUAL(ESP_OK, esp_event_loop_create_default()); 121 TEST_ASSERT_EQUAL(ESP_OK, esp_eth_start(eth_handle)); // start Ethernet driver state machine 126 TEST_ASSERT_EQUAL(ESP_OK, mac->get_addr(mac, mac_addr)); [all …]
|
/hal_espressif-3.6.0/components/spi_flash/ |
D | esp_flash_api.c | 129 if (err != ESP_OK) { in spiflash_start_default() 134 return ESP_OK; in spiflash_start_default() 144 if (err == ESP_OK) { in spiflash_end_default() 162 return ESP_OK; in check_chip_pointer_default() 170 if (acquire_err != ESP_OK) { in flash_end_flush_cache() 171 return (err == ESP_OK)? acquire_err: err; in flash_end_flush_cache() 177 if (err == ESP_OK) { in flash_end_flush_cache() 202 esp_err_t err = ESP_OK; in esp_flash_init() 215 if (err != ESP_OK) { in esp_flash_init() 223 if (err != ESP_OK) { in esp_flash_init() [all …]
|
/hal_espressif-3.6.0/tools/test_apps/system/memprot/main/esp32c3/ |
D | test_memprot_main.c | 119 if (err == ESP_OK) { in test_mprot_dump_status_register() 127 if (err == ESP_OK) { in test_mprot_dump_status_register() 135 if (err == ESP_OK) { in test_mprot_dump_status_register() 145 if (err == ESP_OK) { in test_mprot_dump_status_register() 159 if (err != ESP_OK) { in test_mprot_check_test_result() 177 if (err != ESP_OK) { in test_mprot_clear_all_interrupts() 181 if (err != ESP_OK) { in test_mprot_clear_all_interrupts() 185 if (err != ESP_OK) { in test_mprot_clear_all_interrupts() 210 if (err != ESP_OK) { in test_mprot_get_permissions() 243 if ((err = esp_mprot_set_pms_area(MEMPROT_PMS_AREA_IRAM0_0, flags)) != ESP_OK) { in test_mprot_set_permissions() [all …]
|
/hal_espressif-3.6.0/examples/storage/nvs_rw_blob/main/ |
D | nvs_blob_example_main.c | 41 if (err != ESP_OK) return err; in save_restart_counter() 46 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) return err; in save_restart_counter() 51 if (err != ESP_OK) return err; in save_restart_counter() 58 if (err != ESP_OK) return err; in save_restart_counter() 62 return ESP_OK; in save_restart_counter() 78 if (err != ESP_OK) return err; in save_run_time() 83 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) return err; in save_run_time() 89 if (err != ESP_OK) { in save_run_time() 101 if (err != ESP_OK) return err; in save_run_time() 105 if (err != ESP_OK) return err; in save_run_time() [all …]
|
/hal_espressif-3.6.0/components/protocomm/test/ |
D | test_protocomm.c | 122 return ESP_OK; in prepare_command0() 211 return ESP_OK; in verify_response0() 274 return ESP_OK; in prepare_command1() 315 return ESP_OK; in verify_response1() 321 return ESP_OK; in test_new_session() 328 if (test_sec->init && (test_sec->init(&sec_inst) != ESP_OK)) { in test_new_session() 334 (test_sec->new_transport_session(sec_inst, session_id) != ESP_OK)) { in test_new_session() 339 if (protocomm_open_session(test_pc, session_id) != ESP_OK) { in test_new_session() 343 return ESP_OK; in test_new_session() 352 if (test_sec->cleanup && (test_sec->cleanup(sec_inst) != ESP_OK)) { in test_delete_session() [all …]
|
/hal_espressif-3.6.0/components/esp_hw_support/port/esp32s2/ |
D | memprot.c | 32 case MEMP_LL_OK: return ESP_OK; in esp_memprot_ll_err_to_esp_err() 147 return ESP_OK; in esp_memprot_intr_init() 172 return ESP_OK; in esp_memprot_intr_ena() 218 return ESP_OK; in esp_memprot_clear_intr() 243 return ESP_OK; in esp_memprot_set_lock() 272 return ESP_OK; in esp_memprot_get_lock() 312 return ESP_OK; in esp_memprot_get_conf_reg() 341 return ESP_OK; in esp_memprot_get_fault_reg() 380 return ESP_OK; in esp_memprot_get_fault_status() 418 return ESP_OK; in esp_memprot_get_intr_ena_bit() [all …]
|
/hal_espressif-3.6.0/components/nvs_flash/src/ |
D | nvs_page.cpp | 36 if (rc != ESP_OK) { in load() 51 if (rc != ESP_OK) { in load() 90 return ESP_OK; in load() 99 if (err != ESP_OK) { in writeEntry() 105 if (err != ESP_OK) { in writeEntry() 116 return ESP_OK; in writeEntry() 153 if (rc != ESP_OK) { in writeEntryData() 158 if (err != ESP_OK) { in writeEntryData() 163 return ESP_OK; in writeEntryData() 177 if (err != ESP_OK) { in writeItem() [all …]
|
D | nvs_storage.cpp | 43 while (p.findItem(Page::NS_ANY, ItemType::BLOB_IDX, nullptr, itemIndex, item) == ESP_OK) { in populateBlobIndices() 58 return ESP_OK; in populateBlobIndices() 72 while (p.findItem(Page::NS_ANY, ItemType::BLOB_DATA, nullptr, itemIndex, item) == ESP_OK) { in eraseOrphanDataBlobs() 92 if (err != ESP_OK) { in init() 104 while (p.findItem(Page::NS_INDEX, ItemType::U8, nullptr, itemIndex, item) == ESP_OK) { in init() 126 if (err != ESP_OK) { in init() 140 return ESP_OK; in init() 153 if (err == ESP_OK) { in findItem() 155 return ESP_OK; in findItem() 167 esp_err_t err = ESP_OK; in writeMultiPageBlob() [all …]
|
/hal_espressif-3.6.0/components/freemodbus/common/ |
D | esp_modbus_master.c | 37 esp_err_t error = ESP_OK; in mbc_master_destroy() 45 MB_MASTER_CHECK((error == ESP_OK), in mbc_master_destroy() 54 esp_err_t error = ESP_OK; in mbc_master_get_cid_info() 62 MB_MASTER_CHECK((error == ESP_OK), in mbc_master_get_cid_info() 74 esp_err_t error = ESP_OK; in mbc_master_get_parameter() 82 MB_MASTER_CHECK((error == ESP_OK), in mbc_master_get_parameter() 94 esp_err_t error = ESP_OK; in mbc_master_send_request() 102 MB_MASTER_CHECK((error == ESP_OK), in mbc_master_send_request() 106 return ESP_OK; in mbc_master_send_request() 115 esp_err_t error = ESP_OK; in mbc_master_set_descriptor() [all …]
|
/hal_espressif-3.6.0/components/bootloader_support/src/esp32h2/ |
D | flash_encrypt.c | 48 return ESP_OK; in esp_flash_encrypt_check_and_update() 95 if (err != ESP_OK) { in check_and_generate_encryption_keys() 104 return ESP_OK; in check_and_generate_encryption_keys() 108 return ESP_OK; in check_and_generate_encryption_keys() 118 if(key_state != ESP_OK) { in initialise_flash_encryption() 148 if (err != ESP_OK) { in initialise_flash_encryption() 172 if (err != ESP_OK) { in encrypt_flash_contents() 178 if (err != ESP_OK) { in encrypt_flash_contents() 183 if (err != ESP_OK) { in encrypt_flash_contents() 193 if (err != ESP_OK) { in encrypt_flash_contents() [all …]
|
/hal_espressif-3.6.0/components/bootloader_support/src/flash_encryption/ |
D | flash_encrypt.c | 59 return ESP_OK; in esp_flash_encrypt_check_and_update() 132 if (err != ESP_OK) { in check_and_generate_encryption_keys() 151 return ESP_OK; in check_and_generate_encryption_keys() 160 if (err != ESP_OK) { in initialise_flash_encryption() 166 if (err != ESP_OK) { in initialise_flash_encryption() 172 if (err != ESP_OK) { in initialise_flash_encryption() 177 return ESP_OK; in initialise_flash_encryption() 197 if (err != ESP_OK) { in encrypt_flash_contents() 203 if (err != ESP_OK) { in encrypt_flash_contents() 208 if (err != ESP_OK) { in encrypt_flash_contents() [all …]
|
/hal_espressif-3.6.0/components/sdmmc/ |
D | sdmmc_sd.c | 29 if (err == ESP_OK) { in sdmmc_init_sd_if_cond() 41 return ESP_OK; in sdmmc_init_sd_if_cond() 52 if (err != ESP_OK) { in sdmmc_init_sd_blocklen() 57 return ESP_OK; in sdmmc_init_sd_blocklen() 69 if (err != ESP_OK) { in sdmmc_init_sd_scr() 80 return ESP_OK; in sdmmc_init_sd_scr() 92 if (err != ESP_OK) { in sdmmc_init_sd_bus_width() 96 return ESP_OK; in sdmmc_init_sd_bus_width() 107 if (err != ESP_OK) { in sdmmc_init_sd_wait_data_ready() 114 return ESP_OK; in sdmmc_init_sd_wait_data_ready() [all …]
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/host_test/gpio/main/ |
D | gpio_cxx_test.cpp | 89 gpio_reset_pin_ExpectAnyArgsAndReturn(ESP_OK); 100 gpio_reset_pin_ExpectAndReturn(static_cast<gpio_num_t>(VALID_GPIO.get_num()), ESP_OK); 101 …direction_ExpectAndReturn(static_cast<gpio_num_t>(VALID_GPIO.get_num()), GPIO_MODE_OUTPUT, ESP_OK); 121 gpio_set_level_ExpectAndReturn(static_cast<gpio_num_t>(fix.num.get_num()), 1, ESP_OK); 141 gpio_set_level_ExpectAndReturn(static_cast<gpio_num_t>(fix.num.get_num()), 0, ESP_OK); 151 …e_capability_ExpectAndReturn(static_cast<gpio_num_t>(fix.num.get_num()), GPIO_DRIVE_CAP_0, ESP_OK); 162 gpio_get_drive_capability_ExpectAnyArgsAndReturn(ESP_OK); 173 gpio_reset_pin_ExpectAnyArgsAndReturn(ESP_OK); 184 gpio_reset_pin_ExpectAndReturn(static_cast<gpio_num_t>(VALID_GPIO.get_num()), ESP_OK); 185 …_direction_ExpectAndReturn(static_cast<gpio_num_t>(VALID_GPIO.get_num()), GPIO_MODE_INPUT, ESP_OK); [all …]
|