/hal_espressif-latest/components/esp_timer/src/ |
D | ets_timer_legacy.c | 67 … ESP_ERROR_CHECK( esp_timer_create(&create_args, (esp_timer_handle_t*)&(ptimer->timer_arg)) ); in ets_timer_setfn() 77 ESP_ERROR_CHECK( esp_timer_start_once(ESP_TIMER(ptimer), time_us) ); in ets_timer_arm_us() 79 ESP_ERROR_CHECK( esp_timer_start_periodic(ESP_TIMER(ptimer), time_us) ); in ets_timer_arm_us() 89 ESP_ERROR_CHECK( esp_timer_start_once(ESP_TIMER(ptimer), time_us) ); in ets_timer_arm() 91 ESP_ERROR_CHECK( esp_timer_start_periodic(ESP_TIMER(ptimer), time_us) ); in ets_timer_arm()
|
/hal_espressif-latest/components/esp_phy/src/ |
D | phy_common.c | 104 ESP_ERROR_CHECK(esp_timer_create(&phy_track_pll_timer_args, &phy_track_pll_timer)); in phy_track_pll_init() 105 ESP_ERROR_CHECK(esp_timer_start_periodic(phy_track_pll_timer, PHY_TRACK_PLL_PERIOD_IN_US)); in phy_track_pll_init() 110 ESP_ERROR_CHECK(esp_timer_stop(phy_track_pll_timer)); in phy_track_pll_deinit() 111 ESP_ERROR_CHECK(esp_timer_delete(phy_track_pll_timer)); in phy_track_pll_deinit()
|
D | phy_init.c | 766 ESP_ERROR_CHECK(esp_efuse_mac_get_default(sta_mac)); in esp_phy_load_cal_and_init() 794 ESP_ERROR_CHECK(esp_deep_sleep_register_phy_hook(&phy_close_rf)); in esp_phy_load_cal_and_init() 796 ESP_ERROR_CHECK(esp_deep_sleep_register_phy_hook(&phy_xpd_tsens)); in esp_phy_load_cal_and_init()
|
/hal_espressif-latest/components/efuse/esp32c2/ |
D | esp_efuse_rtc_calib.c | 47 …ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_ADC1_INIT_CODE_ATTEN0, &adc_icode_diff_atten0,… in esp_efuse_rtc_calib_get_init_code() 51 …ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_ADC1_INIT_CODE_ATTEN3, &adc_icode_diff_atten3,… in esp_efuse_rtc_calib_get_init_code() 87 …ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_ADC1_CAL_VOL_ATTEN0, &adc_vol_diff_atten0, efu… in esp_efuse_rtc_calib_get_cal_voltage() 91 …ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_ADC1_CAL_VOL_ATTEN3, &adc_vol_diff_atten3, efu… in esp_efuse_rtc_calib_get_cal_voltage()
|
/hal_espressif-latest/components/bt/porting/transport/driver/uart/ |
D | hci_driver_uart_config.c | 34 ESP_ERROR_CHECK(uart_driver_delete(uart_config->hci_uart_port)); in hci_driver_uart_config() 35 ESP_ERROR_CHECK(uart_param_config(uart_config->hci_uart_port, uart_cfg)); in hci_driver_uart_config() 36 …ESP_ERROR_CHECK(uart_set_pin(uart_config->hci_uart_port, uart_config->hci_uart_tx_pin, uart_config… in hci_driver_uart_config()
|
D | hci_driver_uart.c | 161 ESP_ERROR_CHECK(uart_driver_delete(s_hci_driver_uart_env.hci_uart_params->hci_uart_port)); in hci_driver_uart_deinit() 195 ESP_ERROR_CHECK(uart_driver_install(s_hci_driver_uart_env.hci_uart_params->hci_uart_port, in hci_driver_uart_init() 226 ESP_ERROR_CHECK(uart_driver_install(s_hci_driver_uart_env.hci_uart_params->hci_uart_port, in hci_driver_uart_reconfig_pin()
|
D | hci_driver_uart_dma.c | 447 ESP_ERROR_CHECK(gdma_new_channel(&tx_channel_config, &s_tx_channel)); in hci_driver_uart_dma_install() 453 ESP_ERROR_CHECK(gdma_new_channel(&rx_channel_config, &s_rx_channel)); in hci_driver_uart_dma_install() 593 ESP_ERROR_CHECK(uart_driver_delete(s_hci_driver_uart_dma_env.hci_uart_params->hci_uart_port)); in hci_driver_uart_dma_deinit()
|
/hal_espressif-latest/components/esp_wifi/src/ |
D | wifi_default.c | 376 ESP_ERROR_CHECK(esp_netif_attach_wifi_ap(netif)); in esp_netif_create_default_wifi_ap() 377 ESP_ERROR_CHECK(esp_wifi_set_default_wifi_ap_handlers()); in esp_netif_create_default_wifi_ap() 390 ESP_ERROR_CHECK(esp_netif_attach_wifi_station(netif)); in esp_netif_create_default_wifi_sta() 391 ESP_ERROR_CHECK(esp_wifi_set_default_wifi_sta_handlers()); in esp_netif_create_default_wifi_sta() 466 ESP_ERROR_CHECK(esp_netif_attach_wifi_ap(netif_ap)); in esp_netif_create_default_wifi_mesh_netifs() 467 ESP_ERROR_CHECK(esp_wifi_set_default_wifi_ap_handlers()); in esp_netif_create_default_wifi_mesh_netifs() 470 ESP_ERROR_CHECK(esp_netif_dhcps_stop(netif_ap)); in esp_netif_create_default_wifi_mesh_netifs() 481 ESP_ERROR_CHECK(esp_netif_attach_wifi_station(netif_sta)); in esp_netif_create_default_wifi_mesh_netifs() 482 ESP_ERROR_CHECK(esp_wifi_set_default_wifi_sta_handlers()); in esp_netif_create_default_wifi_mesh_netifs() 485 ESP_ERROR_CHECK(esp_netif_dhcpc_stop(netif_sta)); in esp_netif_create_default_wifi_mesh_netifs()
|
/hal_espressif-latest/components/esp_common/include/ |
D | esp_err.h | 105 #define ESP_ERROR_CHECK(x) do { \ macro 110 #define ESP_ERROR_CHECK(x) do { \ macro 117 #define ESP_ERROR_CHECK(x) do { \ macro
|
/hal_espressif-latest/components/efuse/esp32s3/ |
D | esp_efuse_rtc_calib.c | 18 …ESP_ERROR_CHECK(esp_efuse_read_field_blob(ESP_EFUSE_BLK_VERSION_MAJOR, &blk_ver_major, ESP_EFUSE_B… in esp_efuse_rtc_calib_get_ver() 44 …ESP_ERROR_CHECK(esp_efuse_read_field_blob(desc[desc_index], &adc_icode_diff[diff_index], efuse_ico… in esp_efuse_rtc_calib_get_init_code() 79 ESP_ERROR_CHECK(esp_efuse_read_field_blob(desc[i], &adc_vol_diff[i], efuse_vol_bits)); in esp_efuse_rtc_calib_get_cal_voltage()
|
/hal_espressif-latest/components/efuse/esp32c3/ |
D | esp_efuse_rtc_calib.c | 46 ESP_ERROR_CHECK(esp_efuse_read_field_blob(init_code_efuse, &init_code, init_code_size)); in esp_efuse_rtc_calib_get_init_code() 79 … ESP_ERROR_CHECK(esp_efuse_read_field_blob(cal_vol_efuse, &cal_vol, cal_vol_efuse[0]->bit_count)); in esp_efuse_rtc_calib_get_cal_voltage()
|
/hal_espressif-latest/components/efuse/esp32h2/ |
D | esp_efuse_rtc_calib.c | 54 ESP_ERROR_CHECK(esp_efuse_read_field_blob(init_code_efuse, &init_code, init_code_size)); in esp_efuse_rtc_calib_get_init_code() 86 ESP_ERROR_CHECK(esp_efuse_read_field_blob(chan_diff_efuse, &chan_diff, chan_diff_size)); in esp_efuse_rtc_calib_get_chan_compens()
|
/hal_espressif-latest/components/efuse/esp32c6/ |
D | esp_efuse_rtc_calib.c | 56 ESP_ERROR_CHECK(esp_efuse_read_field_blob(init_code_efuse, &init_code, init_code_size)); in esp_efuse_rtc_calib_get_init_code() 94 ESP_ERROR_CHECK(esp_efuse_read_field_blob(chan_diff_efuse, &chan_diff, chan_diff_size)); in esp_efuse_rtc_calib_get_chan_compens()
|
/hal_espressif-latest/components/esp_system/task_wdt/ |
D | task_wdt.c | 274 ESP_ERROR_CHECK(esp_task_wdt_delete_user(core_user_handles[core_num])); in unsubscribe_idle() 280 ESP_ERROR_CHECK(esp_task_wdt_delete(idle_task_handle)); in unsubscribe_idle() 301 …ESP_ERROR_CHECK(esp_task_wdt_add_user((const char *)core_user_names[core_num], &core_user_handles[… in subscribe_idle() 302 ESP_ERROR_CHECK(esp_register_freertos_idle_hook_for_cpu(idle_hook_cb, core_num)); in subscribe_idle() 306 ESP_ERROR_CHECK(esp_task_wdt_add(idle_task_handle)); in subscribe_idle() 307 ESP_ERROR_CHECK(esp_register_freertos_idle_hook_for_cpu(idle_hook_cb, core_num)); in subscribe_idle()
|
D | task_wdt_impl_timergroup.c | 106 ESP_ERROR_CHECK(esp_intr_disable(ctx->intr_handle)); in esp_task_wdt_impl_timer_free() 112 ESP_ERROR_CHECK(esp_intr_free(ctx->intr_handle)); in esp_task_wdt_impl_timer_free()
|
D | task_wdt_impl_esp_timer.c | 90 ESP_ERROR_CHECK(esp_timer_delete(ctx->sw_timer)); in esp_task_wdt_impl_timer_free()
|
/hal_espressif-latest/components/esp_pm/ |
D | pm_impl.c | 597 ESP_ERROR_CHECK(esp_pm_lock_create(ESP_PM_CPU_FREQ_MAX, 0, "rtos0", in esp_pm_impl_init() 599 ESP_ERROR_CHECK(esp_pm_lock_acquire(s_rtos_lock_handle[0])); in esp_pm_impl_init() 602 ESP_ERROR_CHECK(esp_pm_lock_create(ESP_PM_CPU_FREQ_MAX, 0, "rtos1", in esp_pm_impl_init() 604 ESP_ERROR_CHECK(esp_pm_lock_acquire(s_rtos_lock_handle[1])); in esp_pm_impl_init()
|
/hal_espressif-latest/components/esp_system/ |
D | crosscore_int.c | 126 ESP_ERROR_CHECK(err); in esp_crosscore_int_init()
|
/hal_espressif-latest/components/esp_coex/src/ |
D | coexist_debug.c | 271 ESP_ERROR_CHECK(coex_gpio_debug_matrix_init()); in esp_coexist_debug_init()
|
/hal_espressif-latest/components/esp_hw_support/ |
D | sleep_modes.c | 1775 ESP_ERROR_CHECK(gpio_pullup_dis(gpio_idx)); 1776 ESP_ERROR_CHECK(gpio_pulldown_en(gpio_idx)); 1778 ESP_ERROR_CHECK(gpio_pullup_en(gpio_idx)); 1779 ESP_ERROR_CHECK(gpio_pulldown_dis(gpio_idx)); 1782 ESP_ERROR_CHECK(gpio_hold_en(gpio_idx));
|
/hal_espressif-latest/components/bt/controller/esp32/ |
D | hli_api.c | 204 …ESP_ERROR_CHECK(esp_intr_alloc(ETS_INTERNAL_SW1_INTR_SOURCE, ESP_INTR_FLAG_IRAM, queue_isr_handler… in hli_queue_setup()
|
D | bt.c | 1220 ESP_ERROR_CHECK(coex_version_get_value(&version)); in coex_version_get_wrapper() 1375 ESP_ERROR_CHECK(try_heap_caps_add_region(mem_start, mem_end)); in esp_bt_controller_rom_mem_release() 1381 ESP_ERROR_CHECK(try_heap_caps_add_region(mem_start, mem_end)); in esp_bt_controller_rom_mem_release()
|
/hal_espressif-latest/components/bt/controller/esp32c2/ |
D | bt.c | 308 ESP_ERROR_CHECK(esp_partition_erase_range(log_partition, 0, BLOCK_SIZE)); in esp_bt_ctrl_log_partition_get_and_erase_first_block() 856 ESP_ERROR_CHECK(esp_read_mac((uint8_t *)mac, ESP_MAC_BT)); in esp_bt_controller_init()
|
/hal_espressif-latest/components/bt/controller/esp32c6/ |
D | bt.c | 289 ESP_ERROR_CHECK(esp_partition_erase_range(log_partition, 0, BLOCK_SIZE)); in esp_bt_ctrl_log_partition_get_and_erase_first_block() 933 ESP_ERROR_CHECK(esp_read_mac((uint8_t *)mac, ESP_MAC_BT)); in esp_bt_controller_init()
|
/hal_espressif-latest/components/bt/controller/esp32h2/ |
D | bt.c | 285 ESP_ERROR_CHECK(esp_partition_erase_range(log_partition, 0, BLOCK_SIZE)); in esp_bt_ctrl_log_partition_get_and_erase_first_block() 913 ESP_ERROR_CHECK(esp_read_mac((uint8_t *)mac, ESP_MAC_BT)); in esp_bt_controller_init()
|