Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 30) sorted by relevance

12

/hal_espressif-3.5.0/components/freertos/test/
Dtest_preemption.c61 uint32_t yield_ccount, now_ccount, delta; variable
66 delta = now_ccount - yield_ccount;
67 printf("Yielding from lower priority task took %u cycles\n", delta);
68 TEST_ASSERT(delta < 10000);
79 uint32_t trigger_ccount, yield_ccount, now_ccount, delta; variable
103 delta = now_ccount - trigger_ccount;
104 printf("Yielding from task on other core took %u cycles\n", delta);
105 TEST_ASSERT(delta < 10000);
/hal_espressif-3.5.0/docs/en/api-reference/peripherals/
Dsigmadelta.rst1 Sigma-delta Modulation
9 …ARGET_NAME} has a second-order sigma-delta modulation module. This driver configures the channels …
14delta modulation channels identified with :cpp:type:`sigmadelta_channel_t`. Each channel is capabl…
20 * **Prescaler** of the sigma-delta generator - :cpp:func:`sigmadelta_set_prescale`
30 Typically, if the sigma-delta signal is connected to an LED, you don't have to add any filter betwe…
45 Sigma-delta Modulation example: :example:`peripherals/sigmadelta`.
Ddac.rst25 For other analog output options, see the :doc:`Sigma-delta Modulation module <sigmadelta>` and the …
/hal_espressif-3.5.0/components/mbedtls/port/
Desp_timing.c57 unsigned long delta; in mbedtls_timing_get_timer() local
60 delta = ( now.tv_sec - t->start.tv_sec ) * 1000ul in mbedtls_timing_get_timer()
62 return( delta ); in mbedtls_timing_get_timer()
/hal_espressif-3.5.0/components/newlib/
Dtime.c121 int adjtime(const struct timeval *delta, struct timeval *outdelta) in adjtime() argument
136 if(delta != NULL){ in adjtime()
137 int64_t sec = delta->tv_sec; in adjtime()
138 int64_t usec = delta->tv_usec; in adjtime()
/hal_espressif-3.5.0/components/lwip/apps/sntp/
Dsntp.c45 int64_t delta = sntp_time - cpu_time; in sntp_sync_time() local
46 struct timeval tv_delta = { .tv_sec = delta / 1000000L, .tv_usec = delta % 1000000L }; in sntp_sync_time()
/hal_espressif-3.5.0/components/newlib/test/
Dtest_time.c176 struct timeval delta = {.tv_sec = 0, .tv_usec = 0}; in adjtimeTask2() local
181 delta.tv_sec += 1; in adjtimeTask2()
182 delta.tv_usec = 900000; in adjtimeTask2()
183 if (delta.tv_sec >= 2146) delta.tv_sec = 1; in adjtimeTask2()
184 adjtime(&delta, &outdelta); in adjtimeTask2()
291 struct timeval delta = {.tv_sec = 2000, .tv_usec = 900000}; in measure_time_task() local
292 adjtime(&delta, NULL); in measure_time_task()
/hal_espressif-3.5.0/components/hal/
Dsystimer_hal.c81 int64_t delta = (int64_t)alarm.val - (int64_t)now_time; in systimer_hal_set_alarm_target() local
82 if (delta <= 0 && !systimer_ll_is_alarm_int_fired(hal->dev, alarm_id)) { in systimer_hal_set_alarm_target()
84 offset += -1 * delta + SYSTIMER_LL_TICKS_PER_US * 2; in systimer_hal_set_alarm_target()
/hal_espressif-3.5.0/components/esp_timer/src/
Desp_timer_impl_lac.c190 int64_t delta = (int64_t)alarm.val - (int64_t)now_time; in esp_timer_impl_set_alarm_id() local
191 if (delta <= 0 && REG_GET_FIELD(INT_ST_REG, TIMG_LACT_INT_ST) == 0) { in esp_timer_impl_set_alarm_id()
193 offset += abs((int)delta) + TICKS_PER_US * 2; in esp_timer_impl_set_alarm_id()
Desp_timer_impl_frc_legacy.c251 int64_t delta = (int64_t)alarm_reg_val - (int64_t)REG_READ(FRC_TIMER_COUNT_REG(1)); local
252 if (delta <= 0) {
259 offset += abs((int)delta) + s_timer_ticks_per_us * 2;
/hal_espressif-3.5.0/components/esp_hw_support/test/
Dtest_rtc_clk.c245 uint64_t delta = esp_clk_rtc_time() - clk_rtc_time; in start_freq() local
246 if (delta < 900000LL || delta > 1100000){ in start_freq()
/hal_espressif-3.5.0/components/driver/test/
Dtest_adc.c109 float delta = i + s_adc_offset - average; in print_summary() local
110 variation_square += (delta * delta) * s_adc_count[i]; in print_summary()
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_models/server/
Dgeneric_server.c410 int32_t tmp32 = 0, delta = 0; in gen_delta_set() local
419 delta = (int32_t)net_buf_simple_pull_le32(buf); in gen_delta_set()
430 .delta_set.delta_level = delta, in gen_delta_set()
452 if (srv->state.last_delta == delta) { in gen_delta_set()
461 tmp32 = srv->state.last_level + delta; in gen_delta_set()
465 tmp32 = srv->state.level + delta; in gen_delta_set()
473 srv->state.last_delta = delta; in gen_delta_set()
532 int16_t delta = 0; in gen_move_set() local
541 delta = (int16_t) net_buf_simple_pull_le16(buf); in gen_move_set()
552 .move_set.delta_level = delta, in gen_move_set()
[all …]
/hal_espressif-3.5.0/examples/protocols/sntp/
DREADME.md82 `int adjtime(const struct timeval *delta, struct timeval *outdelta)`
87 …y `adjtime()` is already done during the second call `adjtime()`, and the delta of the second call…
89 The delta argument specifies a relative adjustment to be made to the clock time. If negative, the s…
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c1762 UINT16 delta = BTM_OOB_HASH_C_SIZE + 2; in BTM_BuildOobData() local
1763 if (max_len >= delta) { in BTM_BuildOobData()
1767 len += delta; in BTM_BuildOobData()
1768 max_len -= delta; in BTM_BuildOobData()
1772 delta = BTM_OOB_RAND_R_SIZE + 2; in BTM_BuildOobData()
1773 if (max_len >= delta) { in BTM_BuildOobData()
1777 len += delta; in BTM_BuildOobData()
1778 max_len -= delta; in BTM_BuildOobData()
1782 delta = BTM_OOB_COD_SIZE + 2; in BTM_BuildOobData()
1783 if (max_len >= delta) { in BTM_BuildOobData()
[all …]
/hal_espressif-3.5.0/docs/zh_CN/api-reference/system/
Dpower_management.rst130 - Sigma-delta
/hal_espressif-3.5.0/components/driver/
Dledc.c600 …int delta = s_ledc_fade_rec[speed_mode][channel]->direction == LEDC_DUTY_DIR_DECREASE ? duty_cur -… in ledc_fade_isr() local
601 int step = delta / scale > LEDC_STEP_NUM_MAX ? LEDC_STEP_NUM_MAX : delta / scale; in ledc_fade_isr()
602 if (delta > scale) { in ledc_fade_isr()
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32/
Dfields.py497 delta = (raw & (sign_bit - 1)) - (raw & sign_bit)
498 return offset + (delta * self.STEP_SIZE)
/hal_espressif-3.5.0/examples/peripherals/sigmadelta/
DREADME.md5 This example uses the sigma-delta driver to generate modulated output on a GPIO. If you connect a L…
/hal_espressif-3.5.0/components/esptool_py/esptool/esptool/
Dcmds.py970 delta = before - len(image.segments)
971 print("Merged %d ELF section%s" % (delta, "s" if delta > 1 else ""))
Dloader.py353 delta = now - self._last_trace
355 delta = 0.0
357 prefix = "TRACE +%.3f " % delta
/hal_espressif-3.5.0/components/esp_timer/test/
Dtest_esp_timer.c466 int64_t delta = get_clock_diff(); in timer_test_monotonic_values_task() local
476 int64_t diff = get_clock_diff() - delta; in timer_test_monotonic_values_task()
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_sensor_model/sensor_client/
DREADME.md31 …ed to send measured values when the value changes up or down by more than a configured delta value.
/hal_espressif-3.5.0/examples/peripherals/i2s/i2s_es8311/
DREADME.md11 - High performance and low power multi-bit delta-sigma audio ADC and DAC
/hal_espressif-3.5.0/examples/wifi/ftm/
DREADME.md96 …first adjusting the RTT with any physical analog delays and a calibration delta. Distances measure…

12