Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 144) sorted by relevance

123456

/hal_espressif-latest/components/wpa_supplicant/port/
Deloop.c23 struct os_reltime time; member
101 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout_debug()
105 now_sec = timeout->time.sec; in eloop_register_timeout_debug()
106 timeout->time.sec += secs; in eloop_register_timeout_debug()
107 if (timeout->time.sec < now_sec) { in eloop_register_timeout_debug()
110 timeout->time.usec += usecs; in eloop_register_timeout_debug()
111 while (timeout->time.usec >= 1000000) { in eloop_register_timeout_debug()
112 timeout->time.sec++; in eloop_register_timeout_debug()
113 timeout->time.usec -= 1000000; in eloop_register_timeout_debug()
115 if (timeout->time.sec < now_sec) { in eloop_register_timeout_debug()
[all …]
/hal_espressif-latest/tools/esptool_py/esptool/
Dreset.py9 import time
62 time.sleep(0.5)
100 time.sleep(0.1)
103 time.sleep(self.reset_delay)
117 time.sleep(0.1)
119 time.sleep(self.reset_delay)
133 time.sleep(0.1)
136 time.sleep(0.1)
140 time.sleep(0.1)
160 time.sleep(0.2)
[all …]
Dcmds.py11 import time
622 t = time.time()
672 time.sleep(1)
695 t = time.time() - t
919 time,
1154 t = time.time()
1156 print("Chip erase completed successfully in %.1fs" % (time.time() - t))
1169 t = time.time()
1171 print("Erase completed successfully in %.1f seconds." % (time.time() - t))
1222 t = time.time()
[all …]
/hal_espressif-latest/components/esp_system/
DREADME.md7 1. System time (`esp_system_get_time`)
11 provides system time, since the hardware timers are under the control of that
12 component. However, no matter the underlying timer, the system time provider
15 2. `esp_timer` time (`esp_timer_get_time`)
17 This is the time read from an underlying hardware timer, controlled through config. Origin
20 3. `newlib` time (`gettimeofday`)
24 Currently implemented in terms of system time, as the point of origin is fixed.
25 If persistence is enabled, RTC time is also used in conjuction with system time.
27 4. RTC time (`esp_rtc_get_time_us`)
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dtime_scene_server.c79 net_buf_simple_add_mem(msg, srv->state->time.tai_seconds, TAI_SECONDS_LEN); in send_time_status()
80 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in send_time_status()
81 net_buf_simple_add_u8(msg, srv->state->time.subsecond); in send_time_status()
89 net_buf_simple_add_u8(msg, srv->state->time.uncertainty); in send_time_status()
91 … (srv->state->time.tai_utc_delta_curr << 1) | srv->state->time.time_authority); in send_time_status()
92 net_buf_simple_add_u8(msg, srv->state->time.time_zone_offset_curr); in send_time_status()
96 net_buf_simple_add_mem(msg, srv->state->time.tai_seconds, TAI_SECONDS_LEN); in send_time_status()
97 if (memcmp(srv->state->time.tai_seconds, zero, TAI_SECONDS_LEN)) { in send_time_status()
98 net_buf_simple_add_u8(msg, srv->state->time.subsecond); in send_time_status()
99 net_buf_simple_add_u8(msg, srv->state->time.uncertainty); in send_time_status()
[all …]
/hal_espressif-latest/components/hal/esp32/include/hal/
Di2c_ll.h122 hw->sda_hold.time = bus_cfg->sda_hold; in i2c_ll_set_bus_timing()
123 hw->sda_sample.time = bus_cfg->sda_sample; in i2c_ll_set_bus_timing()
125 hw->scl_rstart_setup.time = bus_cfg->setup; in i2c_ll_set_bus_timing()
126 hw->scl_stop_setup.time = bus_cfg->setup; in i2c_ll_set_bus_timing()
128 hw->scl_start_hold.time = bus_cfg->hold; in i2c_ll_set_bus_timing()
129 hw->scl_stop_hold.time = bus_cfg->hold; in i2c_ll_set_bus_timing()
295 hw->scl_rstart_setup.time = start_setup; in i2c_ll_set_start_timing()
296 hw->scl_start_hold.time = start_hold; in i2c_ll_set_start_timing()
310 hw->scl_stop_setup.time = stop_setup; in i2c_ll_set_stop_timing()
311 hw->scl_stop_hold.time = stop_hold; in i2c_ll_set_stop_timing()
[all …]
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Di2c_ll.h110 hw->sda_hold.time = bus_cfg->sda_hold; in i2c_ll_set_bus_timing()
111 hw->sda_sample.time = bus_cfg->sda_sample; in i2c_ll_set_bus_timing()
113 hw->scl_rstart_setup.time = bus_cfg->setup; in i2c_ll_set_bus_timing()
114 hw->scl_stop_setup.time = bus_cfg->setup; in i2c_ll_set_bus_timing()
116 hw->scl_start_hold.time = bus_cfg->hold - 1; in i2c_ll_set_bus_timing()
117 hw->scl_stop_hold.time = bus_cfg->hold; in i2c_ll_set_bus_timing()
285 hw->scl_rstart_setup.time = start_setup; in i2c_ll_set_start_timing()
286 hw->scl_start_hold.time = start_hold-1; in i2c_ll_set_start_timing()
300 hw->scl_stop_setup.time = stop_setup; in i2c_ll_set_stop_timing()
301 hw->scl_stop_hold.time = stop_hold; in i2c_ll_set_stop_timing()
[all …]
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Di2c_ll.h142 hw->sda_hold.time = bus_cfg->sda_hold - 1; in i2c_ll_set_bus_timing()
143 hw->sda_sample.time = bus_cfg->sda_sample - 1; in i2c_ll_set_bus_timing()
145 hw->scl_rstart_setup.time = bus_cfg->setup - 1; in i2c_ll_set_bus_timing()
146 hw->scl_stop_setup.time = bus_cfg->setup - 1; in i2c_ll_set_bus_timing()
148 hw->scl_start_hold.time = bus_cfg->hold - 1; in i2c_ll_set_bus_timing()
149 hw->scl_stop_hold.time = bus_cfg->hold - 1; in i2c_ll_set_bus_timing()
317 hw->scl_rstart_setup.time = start_setup; in i2c_ll_set_start_timing()
318 hw->scl_start_hold.time = start_hold - 1; in i2c_ll_set_start_timing()
332 hw->scl_stop_setup.time = stop_setup; in i2c_ll_set_stop_timing()
333 hw->scl_stop_hold.time = stop_hold; in i2c_ll_set_stop_timing()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dhealth_srv.c222 uint8_t time = 0U; in send_attention_status() local
229 time = k_delayed_work_remaining_get(&srv->attn_timer) / 1000; in send_attention_status()
230 BT_DBG("%u second%s", time, (time == 1U) ? "" : "s"); in send_attention_status()
233 net_buf_simple_add_u8(&msg, time); in send_attention_status()
253 uint8_t time = 0U; in health_set_attention() local
255 time = net_buf_simple_pull_u8(buf); in health_set_attention()
257 BT_DBG("%u second%s", time, (time == 1U) ? "" : "s"); in health_set_attention()
259 bt_mesh_attention(model, time); in health_set_attention()
512 void bt_mesh_attention(struct bt_mesh_model *model, uint8_t time) in bt_mesh_attention() argument
532 if (time) { in bt_mesh_attention()
[all …]
/hal_espressif-latest/components/log/
DKconfig49 tag, or to minimize startup time but then enable more logs once the firmware has
56 fixed at compile time to the separate "Bootloader log verbosity" setting.
102 by the tick period. This time will reset after a software reboot.
105 - System time is taken from POSIX time functions which use the chip's
106 RTC and high resoultion timers to maintain an accurate time. The system time is
108 POSIX time functions. This time will not reset after a software reboot.
/hal_espressif-latest/components/spi_flash/
Dspi_flash_os_func_app.c274 uint32_t time = k_uptime_get_32(); in on_spi_check_yield() local
277 …if ((time - ctx->released_since_us) >= CONFIG_SPI_FLASH_ERASE_YIELD_TICKS * portTICK_PERIOD_MS * 1… in on_spi_check_yield()
279 ctx->acquired_since_us = time; in on_spi_check_yield()
280 } else if ((time - ctx->acquired_since_us) >= CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS * 1000) { in on_spi_check_yield()
303 uint32_t time = k_uptime_get_32(); in on_spi_yielded() local
304 ctx->acquired_since_us = time; in on_spi_yielded()
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32/
Demulate_efuse_controller.py7 import time
47 deadline = time.time() + self.REGS.EFUSE_BURN_TIMEOUT
48 while time.time() < deadline:
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dconsole_reader.py18 import time
54 time.sleep(0.1)
62 time.sleep(0.1)
Dserial_reader.py7 import time
58 time.sleep(MINIMAL_EN_LOW_DELAY)
75 time.sleep(RECONNECT_DELAY)
Dweb_socket_client.py16 import time
63 time.sleep(self.CONNECTION_RETRY_DELAY)
/hal_espressif-latest/components/soc/esp32/include/soc/
Di2c_struct.h190 …uint32_t time: 10; /*This register is used to configure the clock num I2C us… member
197 …uint32_t time: 10; /*This register is used to configure the clock num I2C us… member
212 …uint32_t time: 10; /*This register is used to configure the clock num between… member
219 …uint32_t time: 10; /*This register is used to configure the clock num between… member
226 …uint32_t time: 14; /*This register is used to configure the clock num after t… member
233 …uint32_t time: 10; /*This register is used to configure the clock num between… member
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dclient_common.c170 int32_t seg_retrans_to = 0, duration = 0, time = 0; in bt_mesh_client_calc_timeout() local
203 time = (seg_duration + seg_retrans_to) * seg_retrans_num; in bt_mesh_client_calc_timeout()
205 BT_INFO("Original timeout %dms, calculated timeout %dms", timeout, time); in bt_mesh_client_calc_timeout()
207 if (time < timeout) { in bt_mesh_client_calc_timeout()
211 time = timeout; in bt_mesh_client_calc_timeout()
217 time = timeout; in bt_mesh_client_calc_timeout()
220 BT_INFO("Client message 0x%08x with timeout %dms", opcode, time); in bt_mesh_client_calc_timeout()
222 return time; in bt_mesh_client_calc_timeout()
/hal_espressif-latest/components/esp_pm/
DKconfig9 This option has run-time overhead (increased interrupt latency,
10 longer time to enter idle state), and it also reduces accuracy of
30 If enabled, esp_pm_* functions will keep track of the amount of time
34 from going into a lower power state, and see what time the chip spends
35 in each power saving mode. This feature does incur some run-time
55 longer for 760us at most each time.
64 longer for 40us at most each time.
91 enabling it in the application will increase the sleep and wake-up time overhead
119time to keep the system running. Enabling this option will increase static RAM and heap usage,
122 at sleep time. Otherwise sleep will not power down the peripherals.
[all …]
/hal_espressif-latest/components/soc/esp32c3/include/soc/
Di2c_struct.h223 uint32_t time : 9; member
230 uint32_t time : 9; member
246 uint32_t time : 9; member
253 uint32_t time : 9; member
260 uint32_t time : 9; member
267 uint32_t time : 9; member
/hal_espressif-latest/components/soc/esp32s2/include/soc/
Di2c_struct.h205 uint32_t time: 10; member
212 uint32_t time: 10; member
228 uint32_t time: 10; member
235 uint32_t time: 10; member
242 uint32_t time: 14; member
249 uint32_t time: 10; member
/hal_espressif-latest/zephyr/
DKconfig107 When the chip exits sleep, the CPU and the flash chip are powered on at the same time.
111 Some flash chips need sufficient time to pass between power on and first read operation.
112 By default, without any extra delay, this time is approximately 900us, although
117 time from Vcc(min) to CS active) usually named tVSL in ELECTRICAL CHARACTERISTICS chapter,
121 For esp32 and esp32s3, the default extra delay is set to 2000us. When optimizing startup time
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_timer.c191 int32_t time = 0; in k_delayed_work_remaining_get() local
206 time = osi_alarm_get_remaining_ms(alarm); in k_delayed_work_remaining_get()
208 return time; in k_delayed_work_remaining_get()
/hal_espressif-latest/components/esp_app_format/
Desp_app_desc.c37 .time = __TIME__,
40 .time = "",
DKconfig.projbuild4 bool "Use time/date stamp for app"
7 …If set, then the app will be built with the current time/date stamp. It is stored in the app descr…
8 …structure. If not set, time/date stamp will be excluded from app image. This can be useful for get…
/hal_espressif-latest/components/esp_event/
DKconfig9 … loop queue, run time of event handlers, and number of times/run time of each event handler.

123456