/hal_espressif-3.6.0/components/esp_timer/src/ |
D | esp_timer.c | 87 static esp_err_t timer_insert(esp_timer_handle_t timer, bool without_update_alarm); 88 static esp_err_t timer_remove(esp_timer_handle_t timer); 89 static bool timer_armed(esp_timer_handle_t timer); 94 static void timer_insert_inactive(esp_timer_handle_t timer); 95 static void timer_remove_inactive(esp_timer_handle_t timer); 157 esp_err_t IRAM_ATTR esp_timer_start_once(esp_timer_handle_t timer, uint64_t timeout_us) in esp_timer_start_once() argument 159 if (timer == NULL) { in esp_timer_start_once() 162 if (!is_initialized() || timer_armed(timer)) { in esp_timer_start_once() 166 esp_timer_dispatch_t dispatch_method = timer->flags & FL_ISR_DISPATCH_METHOD; in esp_timer_start_once() 168 timer->alarm = alarm; in esp_timer_start_once() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/aligenie_demo/components/vendor_model/ |
D | genie_util.c | 27 void util_timer_init(util_timer_t *timer, util_timer_handler_t handle, void *args) in util_timer_init() argument 32 if (NULL == timer) { in util_timer_init() 37 ESP_LOGD(TAG, "timer: %p, handle: %p, args: %p", timer, handle, args); in util_timer_init() 45 timer->handler = handle; in util_timer_init() 46 timer->args = args; in util_timer_init() 47 timer->timeout = 0; in util_timer_init() 49 ret = esp_timer_create(&create_args, &timer->timer); in util_timer_init() 56 void util_timer_start(util_timer_t *timer, uint32_t timeout) in util_timer_start() argument 61 if (NULL == timer) { in util_timer_start() 66 ESP_LOGD(TAG, "timer: %p, timeout: %u", timer, timeout); in util_timer_start() [all …]
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_pwm.c | 75 static void mcpwm_setup_testbench(mcpwm_unit_t group, mcpwm_timer_t timer, uint32_t pwm_freq, float… in mcpwm_setup_testbench() argument 92 mcpwm_io_signals_t mcpwm_a = pwma[timer]; in mcpwm_setup_testbench() 98 mcpwm_io_signals_t mcpwm_b = pwmb[timer]; in mcpwm_setup_testbench() 110 mcpwm_timer_set_resolution(group, timer, timer_resolution); in mcpwm_setup_testbench() 111 TEST_ESP_OK(mcpwm_init(group, timer, &pwm_config)); in mcpwm_setup_testbench() 126 static void mcpwm_timer_duty_test(mcpwm_unit_t unit, mcpwm_timer_t timer, unsigned long int group_r… in mcpwm_timer_duty_test() argument 128 mcpwm_setup_testbench(unit, timer, 1000, 50.0, group_resolution, timer_resolution); in mcpwm_timer_duty_test() 131 TEST_ESP_OK(mcpwm_set_duty(unit, timer, MCPWM_OPR_A, 10.0)); in mcpwm_timer_duty_test() 132 TEST_ESP_OK(mcpwm_set_duty(unit, timer, MCPWM_OPR_B, 20.0)); in mcpwm_timer_duty_test() 133 TEST_ASSERT_FLOAT_WITHIN(0.1, 10.0, mcpwm_get_duty(unit, timer, MCPWM_OPR_A)); in mcpwm_timer_duty_test() [all …]
|
/hal_espressif-3.6.0/examples/system/esp_timer/ |
D | README.md | 5 …Is allow an application to create multiple timers using a single hardware timer, and hides complex… 25 * `High-resolution timer task stack size` can be increased if timer callbacks require a larger stack 51 I (794) example: Periodic timer called, time since boot: 509694 us 52 I (1294) example: Periodic timer called, time since boot: 1009671 us 53 I (1794) example: Periodic timer called, time since boot: 1509671 us 54 I (2294) example: Periodic timer called, time since boot: 2009671 us 57 I (2794) example: Periodic timer called, time since boot: 2509671 us 58 I (3294) example: Periodic timer called, time since boot: 3009671 us 59 I (3794) example: Periodic timer called, time since boot: 3509671 us 60 I (4294) example: Periodic timer called, time since boot: 4009671 us [all …]
|
/hal_espressif-3.6.0/docs/en/api-reference/peripherals/ |
D | timer.rst | 13 …AME} chip contains two hardware timer groups. Each group has {IDF_TARGET_TIMERS_PER_GROUP} general… 19 The following sections of this document cover the typical steps to configure and operate a timer: 21 …timer-api-timer-initialization` - covers which parameters should be set up to get the timer workin… 22 * :ref:`timer-api-timer-control` - describes how to read a timer's value, pause or start a timer, a… 23 * :ref:`timer-api-alarms` - shows how to set and use alarms. 24 * :ref:`timer-api-interrupts`- explains how to use interrupt callbacks. 27 .. _timer-api-timer-initialization: 32 …timer groups, with {IDF_TARGET_TIMERS_PER_GROUP} timer(s) in each, provide the total of {IDF_TARGE… 34 …timer should be initialized by calling the function :cpp:func:`timer_init` and passing a structure… 38 …t the clock source, which together with the **Divider** define the resolution of the working timer. [all …]
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/host_test/esp_timer/main/ |
D | esp_timer_test.cpp | 122 ESPTimer timer(timer_cb); 124 CHECK_THROWS_AS(timer.start(chrono::microseconds(5000)), ESPException&); 134 ESPTimer timer(timer_cb); 136 CHECK_THROWS_AS(timer.start_periodic(chrono::microseconds(5000)), ESPException&); 149 ESPTimer timer(timer_cb); 151 CHECK_THROWS_AS(timer.stop(), ESPException&); 161 ESPTimer timer(timer_cb); 163 timer.start(chrono::microseconds(5000)); 176 ESPTimer timer(timer_cb); 178 timer.start(chrono::microseconds(5000)); [all …]
|
/hal_espressif-3.6.0/components/esp_timer/ |
D | Kconfig | 1 menu "High resolution timer (esp_timer)" 7 … If enabled, esp_timer_dump will dump information such as number of times the timer was started, 8 … number of times the timer has triggered, and the total time it took for the callback to run. 9 This option has some effect on timer performance and the amount of memory used for timer 22 int "High-resolution timer task stack size" 28 APIs. If you are seing stack overflow errors in timer task, increase 31 Note that this is not the same as FreeRTOS timer task. To configure 32 FreeRTOS timer task size, see "FreeRTOS timer task stack size" option 50 … - ESP_TIMER_ISR - Timer callbacks are dispatched directly from the timer interrupt handler. 55 prompt "Hardware timer to use for esp_timer" [all …]
|
/hal_espressif-3.6.0/docs/zh_CN/api-reference/peripherals/ |
D | timer.rst | 28 * :ref:`timer-api-timer-initialization` - 启动定时器前应设置的参数,以及每个设置提供的具体功能。 29 * :ref:`timer-api-timer-control` - 如何读取定时器的值,如何暂停/启动定时器以及如何改变定时器的操作方式。 30 * :ref:`timer-api-alarms` - 如何设置和使用警报。 31 * :ref:`timer-api-interrupts`- 如何使用中断提供的回调函数。 34 .. _timer-api-timer-initialization: 55 .. _timer-api-timer-control: 64 要重新配置定时器,可调用函数 :cpp:func:`timer_init`,该函数详细介绍见 :ref:`timer-api-timer-initialization`。 85 * 如果先前已配置,此时将触发中断。有关如何配置中断,请参见 :ref:`timer-api-interrupts`。 116 .. include-build-file:: inc/timer.inc
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | esp_timer.rst | 12 …timer events to fire at certain times in the future, but the hardware timer only contains one "com… 14 …vel (by default 1). Raising the level, the interrupt handler can reduce the timer processing delay. 18 Internally, ``esp_timer`` uses a 64-bit hardware timer, where the implemention depends on :ref:`CON… 22 :esp32: - LAC timer 23 :esp32: - (legacy) FRC2 timer 28 …timer was used. Starting at v4.2, use the new LAC timer option instead, it has a simpler implement… 39 ``ESP_TIMER_ISR``. Timer callbacks are dispatched directly from the timer interrupt handler. This m… 41 Creating and starting a timer, and dispatching the callback takes some time. Therefore there is a l… 43 …timer period. Periodic software timers with period of less than 50us are not practical since they … 48 …timer is represented by :cpp:type:`esp_timer_handle_t` type. Timer has a callback function associa… [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | mcpwm_ll.h | 270 mcpwm_timer_cfg0_reg_t cfg0 = mcpwm->timer[timer_id].timer_cfg0; in mcpwm_ll_timer_set_clock_prescale() 272 mcpwm->timer[timer_id].timer_cfg0 = cfg0; in mcpwm_ll_timer_set_clock_prescale() 277 mcpwm_timer_cfg0_reg_t cfg0 = mcpwm->timer[timer_id].timer_cfg0; in mcpwm_ll_timer_get_clock_prescale() 284 HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period, peak - 1); in mcpwm_ll_timer_set_peak() 286 HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period, peak); in mcpwm_ll_timer_set_peak() 294 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period) + 1; in mcpwm_ll_timer_get_peak() 297 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period); in mcpwm_ll_timer_get_peak() 302 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod = 0; in mcpwm_ll_timer_update_period_at_once() 308 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod |= 0x01; in mcpwm_ll_timer_enable_update_period_on_tez() 310 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod &= ~0x01; in mcpwm_ll_timer_enable_update_period_on_tez() [all …]
|
D | ledc_ll.h | 82 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; in ledc_ll_ls_timer_update() 96 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 97 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 111 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 125 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 140 hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider = clock_divider; in ledc_ll_set_clock_divider() 155 *clock_divider = hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider; in ledc_ll_get_clock_divider() 172 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 1; in ledc_ll_set_clock_source() 175 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 0; in ledc_ll_set_clock_source() 191 if (hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel == 1) { in ledc_ll_get_clock_source() [all …]
|
/hal_espressif-3.6.0/components/esp_timer/test/ |
D | test_esp_timer.c | 203 esp_timer_handle_t timer; member 222 TEST_ESP_OK(esp_timer_stop(p_args->timer)); in test_periodic_correct_delays_timer_func() 240 args.timer = timer1; 272 esp_timer_handle_t timer; member 290 esp_timer_stop(p_args->timer); in test_timers_ordered_correctly_timer_func() 296 esp_timer_stop(p_args->timer); in test_timers_ordered_correctly_timer_func() 303 esp_timer_start_once(p_args->timer, next_interval * 1000); in test_timers_ordered_correctly_timer_func() 351 TEST_ESP_OK(esp_timer_create(&create_args, &args1.timer)); 355 TEST_ESP_OK(esp_timer_create(&create_args, &args2.timer)); 359 TEST_ESP_OK(esp_timer_create(&create_args, &args3.timer)); [all …]
|
D | test_ets_timer.c | 61 ETSTimer *timer; member 81 ets_timer_disarm(p_args->timer); in test_periodic_correct_delays_timer_func() 91 args.timer = &timer1; 116 ETSTimer* timer; member 132 ets_timer_disarm(p_args->timer); in test_timers_ordered_correctly_timer_func() 138 ets_timer_disarm(p_args->timer); in test_timers_ordered_correctly_timer_func() 145 ets_timer_arm(p_args->timer, next_interval, false); in test_timers_ordered_correctly_timer_func() 164 .timer = &timer1, 173 .timer = &timer2, 182 .timer = &timer3,
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_models/server/ |
D | state_transition.c | 109 k_delayed_work_submit_periodic(&transition->timer, K_MSEC(transition->quo_tt)); in transition_timer_start() 115 k_delayed_work_cancel(&transition->timer); in transition_timer_stop() 242 CONTAINER_OF(work, struct bt_mesh_gen_onoff_srv, transition.timer.work); in generic_onoff_work_handler() 246 if (srv == NULL || srv->transition.timer.work._reserved == NULL) { in generic_onoff_work_handler() 253 ctx = (struct bt_mesh_msg_ctx *)srv->transition.timer.work._reserved; in generic_onoff_work_handler() 305 CONTAINER_OF(work, struct bt_mesh_gen_level_srv, transition.timer.work); in generic_level_work_handler() 309 if (srv == NULL || srv->transition.timer.work._reserved == NULL) { in generic_level_work_handler() 316 ctx = (struct bt_mesh_msg_ctx *)srv->transition.timer.work._reserved; in generic_level_work_handler() 382 CONTAINER_OF(work, struct bt_mesh_gen_power_level_srv, transition.timer.work); in generic_power_level_work_handler() 387 srv->transition.timer.work._reserved == NULL) { in generic_power_level_work_handler() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32/include/hal/ |
D | mcpwm_ll.h | 267 HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_prescale, prescale - 1); in mcpwm_ll_timer_set_clock_prescale() 272 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_prescale) + 1; in mcpwm_ll_timer_get_clock_prescale() 278 HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period, peak - 1); in mcpwm_ll_timer_set_peak() 280 HAL_FORCE_MODIFY_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period, peak); in mcpwm_ll_timer_set_peak() 288 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period) + 1; in mcpwm_ll_timer_get_peak() 291 return HAL_FORCE_READ_U32_REG_FIELD(mcpwm->timer[timer_id].timer_cfg0, timer_period); in mcpwm_ll_timer_get_peak() 296 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod = 0; in mcpwm_ll_timer_update_period_at_once() 302 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod |= 0x01; in mcpwm_ll_timer_enable_update_period_on_tez() 304 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod &= ~0x01; in mcpwm_ll_timer_enable_update_period_on_tez() 311 mcpwm->timer[timer_id].timer_cfg0.timer_period_upmethod |= 0x02; in mcpwm_ll_timer_enable_update_period_on_sync() [all …]
|
D | ledc_ll.h | 68 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; in ledc_ll_ls_timer_update() 81 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 82 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 95 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 108 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 122 hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider = clock_divider; in ledc_ll_set_clock_divider() 136 *clock_divider = hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider; in ledc_ll_get_clock_divider() 150 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = (clk_src == LEDC_APB_CLK); in ledc_ll_set_clock_source() 164 if (hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel) { in ledc_ll_get_clock_source() 182 hw->timer_group[speed_mode].timer[timer_sel].conf.duty_resolution = duty_resolution; in ledc_ll_set_duty_resolution() [all …]
|
/hal_espressif-3.6.0/examples/peripherals/timer_group/main/ |
D | timer_group_example_main.c | 82 static void example_tg_timer_init(int group, int timer, bool auto_reload, int timer_interval_sec) in example_tg_timer_init() argument 92 timer_init(group, timer, &config); in example_tg_timer_init() 96 timer_set_counter_value(group, timer, 0); in example_tg_timer_init() 99 timer_set_alarm_value(group, timer, timer_interval_sec * TIMER_SCALE); in example_tg_timer_init() 100 timer_enable_intr(group, timer); in example_tg_timer_init() 104 timer_info->timer_idx = timer; in example_tg_timer_init() 107 timer_isr_callback_add(group, timer, timer_group_isr_callback, timer_info, 0); in example_tg_timer_init() 109 timer_start(group, timer); in example_tg_timer_init()
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | ledc_ll.h | 82 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; in ledc_ll_ls_timer_update() 96 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 97 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 111 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 125 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 140 hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider = clock_divider; in ledc_ll_set_clock_divider() 155 *clock_divider = hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider; in ledc_ll_get_clock_divider() 172 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 1; in ledc_ll_set_clock_source() 175 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 0; in ledc_ll_set_clock_source() 191 if (hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel == 1) { in ledc_ll_get_clock_source() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | ledc_ll.h | 82 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; in ledc_ll_ls_timer_update() 96 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 97 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 111 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 125 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 140 hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider = clock_divider; in ledc_ll_set_clock_divider() 155 *clock_divider = hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider; in ledc_ll_get_clock_divider() 172 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 1; in ledc_ll_set_clock_source() 175 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 0; in ledc_ll_set_clock_source() 191 if (hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel == 1) { in ledc_ll_get_clock_source() [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | ledc_ll.h | 79 hw->timer_group[speed_mode].timer[timer_sel].conf.low_speed_update = 1; in ledc_ll_ls_timer_update() 92 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 1; in ledc_ll_timer_rst() 93 hw->timer_group[speed_mode].timer[timer_sel].conf.rst = 0; in ledc_ll_timer_rst() 106 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 1; in ledc_ll_timer_pause() 119 hw->timer_group[speed_mode].timer[timer_sel].conf.pause = 0; in ledc_ll_timer_resume() 133 hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider = clock_divider; in ledc_ll_set_clock_divider() 147 *clock_divider = hw->timer_group[speed_mode].timer[timer_sel].conf.clock_divider; in ledc_ll_get_clock_divider() 163 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 1; in ledc_ll_set_clock_source() 166 hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel = 0; in ledc_ll_set_clock_source() 181 if (hw->timer_group[speed_mode].timer[timer_sel].conf.tick_sel == 1) { in ledc_ll_get_clock_source() [all …]
|
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/button/ |
D | README.md | 17 This components are based on GPIO provided by idf and soft timer provided by FreeRTOS. 25 * Add hardware timer mode(because sometimes soft-timer callback function is limited) 28 > All the event callback function are realized by FreeRTOS soft timer APIs, the callback must follo… 33 Button callback functions execute in the context of the timer service task. 39 …g macros within FreeRTOS to adjust the stack depth/queue length/task priority of the timer service. 43 #define configUSE_TIMERS //enable soft-timer 45 #define configQueue_LENGTH // length of timer command queue 46 #define configTIMER_TASK_STACK_DEPTH // stack depth of the soft-timer
|
/hal_espressif-3.6.0/components/mdns/host_test/components/esp_timer_linux/ |
D | esp_timer_linux.c | 32 esp_err_t esp_timer_start_periodic(esp_timer_handle_t timer, uint64_t period) in esp_timer_start_periodic() argument 34 set_tout(timer, period/1000); in esp_timer_start_periodic() 38 esp_err_t esp_timer_stop(esp_timer_handle_t timer) in esp_timer_stop() argument 43 esp_err_t esp_timer_delete(esp_timer_handle_t timer) in esp_timer_delete() argument 45 destroy_tt(timer); in esp_timer_delete()
|
/hal_espressif-3.6.0/examples/peripherals/timer_group/ |
D | README.md | 3 This example uses the timer group driver to generate timer interrupts at two specified alarm interv… 23 Group[0], timer[0] alarm event 31 Group[1], timer[0] alarm event 39 Group[0], timer[0] alarm event 51 * Each timer is set with some sample alarm interval 52 * On reaching the interval value each timer will generate an alarm 54 * The other timer is configured to keep incrementing and is reloaded by the application each time t…
|
/hal_espressif-3.6.0/components/esp_netif/ |
D | Kconfig | 4 int "IP Address lost timer interval (seconds)" 8 The value of 0 indicates the IP lost timer is disabled, otherwise the timer is enabled. 11 from soft-AP, or when DHCP IP renew fails etc. If the IP lost timer is enabled, it will 13 the timer expires. The IP lost timer is stopped if the station get the IP again before 14 the timer expires.
|
/hal_espressif-3.6.0/components/esp_timer/include/ |
D | esp_timer.h | 151 esp_err_t esp_timer_start_once(esp_timer_handle_t timer, uint64_t timeout_us); 166 esp_err_t esp_timer_start_periodic(esp_timer_handle_t timer, uint64_t period); 179 esp_err_t esp_timer_stop(esp_timer_handle_t timer); 192 esp_err_t esp_timer_delete(esp_timer_handle_t timer); 264 bool esp_timer_is_active(esp_timer_handle_t timer);
|