Home
last modified time | relevance | path

Searched refs:ESP_ERROR_CHECK (Results 1 – 25 of 28) sorted by relevance

12

/hal_espressif-latest/components/esp_timer/src/
Dets_timer_legacy.c67ESP_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/
Dphy_common.c104 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()
Dphy_init.c766 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/
Desp_efuse_rtc_calib.c47ESP_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()
51ESP_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()
87ESP_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()
91ESP_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/
Dhci_driver_uart_config.c34 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()
36ESP_ERROR_CHECK(uart_set_pin(uart_config->hci_uart_port, uart_config->hci_uart_tx_pin, uart_config… in hci_driver_uart_config()
Dhci_driver_uart.c161 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()
Dhci_driver_uart_dma.c447 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/
Dwifi_default.c376 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/
Desp_err.h105 #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/
Desp_efuse_rtc_calib.c18ESP_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()
44ESP_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/
Desp_efuse_rtc_calib.c46 ESP_ERROR_CHECK(esp_efuse_read_field_blob(init_code_efuse, &init_code, init_code_size)); in esp_efuse_rtc_calib_get_init_code()
79ESP_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/
Desp_efuse_rtc_calib.c54 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/
Desp_efuse_rtc_calib.c56 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/
Dtask_wdt.c274 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()
301ESP_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()
Dtask_wdt_impl_timergroup.c106 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()
Dtask_wdt_impl_esp_timer.c90 ESP_ERROR_CHECK(esp_timer_delete(ctx->sw_timer)); in esp_task_wdt_impl_timer_free()
/hal_espressif-latest/components/esp_pm/
Dpm_impl.c597 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/
Dcrosscore_int.c126 ESP_ERROR_CHECK(err); in esp_crosscore_int_init()
/hal_espressif-latest/components/esp_coex/src/
Dcoexist_debug.c271 ESP_ERROR_CHECK(coex_gpio_debug_matrix_init()); in esp_coexist_debug_init()
/hal_espressif-latest/components/esp_hw_support/
Dsleep_modes.c1775 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/
Dhli_api.c204ESP_ERROR_CHECK(esp_intr_alloc(ETS_INTERNAL_SW1_INTR_SOURCE, ESP_INTR_FLAG_IRAM, queue_isr_handler… in hli_queue_setup()
Dbt.c1220 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/
Dbt.c308 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/
Dbt.c289 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/
Dbt.c285 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()

12