/hal_espressif-3.7.0/components/esp_timer/src/ |
D | esp_timer.c | 66 uint64_t period:56; member 181 const uint64_t period = timer->period; in esp_timer_restart() local 192 if (period != 0) { in esp_timer_restart() 196 timer->period = new_period; in esp_timer_restart() 200 timer->period = 0; in esp_timer_restart() 233 timer->period = 0; in esp_timer_start_once() 263 timer->period = period_us; in esp_timer_start_periodic() 315 timer->period = 0; in esp_timer_delete() 356 timer->period = 0; in timer_remove() 440 if (it->period > 0) { in timer_process_alarm() [all …]
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32s2/ |
D | rtc_time.c | 127 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_xtal_to_slowclk() local 128 return period; in rtc_clk_xtal_to_slowclk() 219 uint32_t period = rtc_clk_xtal_to_slowclk(xtal_cycles, slowclk_cycles); in rtc_clk_cal_cycling() local 220 return period; in rtc_clk_cal_cycling() 223 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 228 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 231 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 233 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/esp_mm/test_apps/mm/main/ |
D | test_cache_msync.c | 101 uint32_t period = sync_time_us / 2; variable 102 TEST_ESP_OK(esp_timer_start_periodic(timer, period)); 114 TEST_ASSERT((s_check_times < (sync_time_us / period))); 149 uint32_t period = sync_time_us * 2; variable 150 TEST_ESP_OK(esp_timer_start_periodic(timer, period)); 198 uint32_t period = sync_time_us * 2; variable 199 TEST_ESP_OK(esp_timer_start_periodic(timer, period));
|
/hal_espressif-3.7.0/components/esp_hw_support/test_apps/mspi/main/ |
D | test_flash_psram.c | 125 static void goto_idle_and_check_stop(uint32_t period) in goto_idle_and_check_stop() argument 127 if (xSemaphoreTake(StopSemphr, pdMS_TO_TICKS(period)) == pdTRUE) { in goto_idle_and_check_stop() 137 uint32_t period = 100; in pm_switch_task() local 141 goto_idle_and_check_stop(period); in pm_switch_task() 143 goto_idle_and_check_stop(period); in pm_switch_task() 145 goto_idle_and_check_stop(period); in pm_switch_task() 147 goto_idle_and_check_stop(period); in pm_switch_task() 149 goto_idle_and_check_stop(period); in pm_switch_task()
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32/ |
D | rtc_time.c | 137 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 138 return period; in rtc_clk_cal() 141 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 146 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 149 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 151 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32c2/ |
D | rtc_time.c | 151 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 152 return period; in rtc_clk_cal() 155 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 160 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 163 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 165 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32c3/ |
D | rtc_time.c | 154 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 155 return period; in rtc_clk_cal() 158 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 163 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 166 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 168 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32s3/ |
D | rtc_time.c | 153 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 154 return period; in rtc_clk_cal() 157 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 162 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 165 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 167 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32c6/ |
D | rtc_time.c | 230 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 231 return period; in rtc_clk_cal() 234 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 239 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 242 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 244 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/esp_hw_support/port/esp32h2/ |
D | rtc_time.c | 230 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 231 return period; in rtc_clk_cal() 234 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 239 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 242 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 244 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_core/include/ |
D | cfg_srv.h | 44 uint8_t period; member 92 uint8_t period; member 103 uint8_t period; member 200 uint8_t period; member 208 uint8_t period; member
|
D | cfg_cli.h | 77 uint8_t period; member 115 uint8_t period; member 126 uint8_t period; member 177 uint8_t period; member 195 uint8_t period; member 205 uint8_t period; member
|
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/ |
D | i2c_ll.h | 106 hw->scl_low_period.period = bus_cfg->scl_low - 1; in i2c_ll_set_bus_timing() 107 hw->scl_high_period.period = bus_cfg->scl_high; in i2c_ll_set_bus_timing() 158 hw->scl_low_period.period = low_period-1; in i2c_ll_set_scl_timing() 159 hw->scl_high_period.period = hight_period/2+2; in i2c_ll_set_scl_timing() 160 hw->scl_high_period.scl_wait_high_period = hight_period - hw->scl_high_period.period; in i2c_ll_set_scl_timing() 518 *high_period = hw->scl_high_period.period + hw->scl_high_period.scl_wait_high_period; in i2c_ll_get_scl_timing() 519 *low_period = hw->scl_low_period.period + 1; in i2c_ll_get_scl_timing() 775 hw->scl_low_period.period = low_period; in i2c_ll_set_scl_clk_timing() 776 hw->scl_high_period.period = high_period; in i2c_ll_set_scl_clk_timing() 791 *high_period = hw->scl_high_period.period; in i2c_ll_get_scl_clk_timing() [all …]
|
D | systimer_ll.h | 130 …c inline void systimer_ll_set_alarm_period(systimer_dev_t *dev, uint32_t alarm_id, uint32_t period) in systimer_ll_set_alarm_period() argument 132 HAL_ASSERT(period < (1 << 30)); in systimer_ll_set_alarm_period() 133 dev->target_conf[alarm_id].target_period = period; in systimer_ll_set_alarm_period()
|
/hal_espressif-3.7.0/components/hal/esp32c3/include/hal/ |
D | i2c_ll.h | 138 hw->scl_low_period.period = bus_cfg->scl_low - 1; in i2c_ll_set_bus_timing() 139 hw->scl_high_period.period = bus_cfg->scl_high; in i2c_ll_set_bus_timing() 191 hw->scl_low_period.period = low_period - 1; in i2c_ll_set_scl_timing() 192 hw->scl_high_period.period = hight_period - 10; in i2c_ll_set_scl_timing() 193 hw->scl_high_period.scl_wait_high_period = hight_period - hw->scl_high_period.period; in i2c_ll_set_scl_timing() 550 *high_period = hw->scl_high_period.period + hw->scl_high_period.scl_wait_high_period; in i2c_ll_get_scl_timing() 551 *low_period = hw->scl_low_period.period + 1; in i2c_ll_get_scl_timing() 781 hw->scl_low_period.period = low_period; in i2c_ll_set_scl_clk_timing() 782 hw->scl_high_period.period = high_period; in i2c_ll_set_scl_clk_timing() 797 *high_period = hw->scl_high_period.period; in i2c_ll_get_scl_clk_timing() [all …]
|
D | systimer_ll.h | 117 …c inline void systimer_ll_set_alarm_period(systimer_dev_t *dev, uint32_t alarm_id, uint32_t period) in systimer_ll_set_alarm_period() argument 119 HAL_ASSERT(period < (1 << 26)); in systimer_ll_set_alarm_period() 120 dev->target_conf[alarm_id].target_period = period; in systimer_ll_set_alarm_period()
|
/hal_espressif-3.7.0/components/hal/esp32/include/hal/ |
D | i2c_ll.h | 101 hw->scl_low_period.period = bus_cfg->scl_low - 1; in i2c_ll_set_bus_timing() 120 hw->scl_high_period.period = scl_high; in i2c_ll_set_bus_timing() 170 hw->scl_low_period.period = low_period; in i2c_ll_set_scl_timing() 171 hw->scl_high_period.period = hight_period; in i2c_ll_set_scl_timing() 505 *high_period = hw->scl_high_period.period; in i2c_ll_get_scl_timing() 506 *low_period = hw->scl_low_period.period; in i2c_ll_get_scl_timing() 740 *high_period = hw->scl_high_period.period; in i2c_ll_get_scl_clk_timing() 741 *low_period = hw->scl_low_period.period; in i2c_ll_get_scl_clk_timing() 757 hw->scl_low_period.period = low_period; in i2c_ll_set_scl_clk_timing() 758 hw->scl_high_period.period = high_period; in i2c_ll_set_scl_clk_timing()
|
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/mesh_core/ |
D | access.c | 60 int period = 0; in bt_mesh_model_pub_period_get() local 67 switch (mod->pub->period >> 6) { in bt_mesh_model_pub_period_get() 70 period = K_MSEC((mod->pub->period & BIT_MASK(6)) * 100U); in bt_mesh_model_pub_period_get() 74 period = K_SECONDS(mod->pub->period & BIT_MASK(6)); in bt_mesh_model_pub_period_get() 78 period = K_SECONDS((mod->pub->period & BIT_MASK(6)) * 10U); in bt_mesh_model_pub_period_get() 82 period = K_MINUTES((mod->pub->period & BIT_MASK(6)) * 10U); in bt_mesh_model_pub_period_get() 90 return period >> mod->pub->period_div; in bt_mesh_model_pub_period_get() 92 return period; in bt_mesh_model_pub_period_get() 99 uint32_t elapsed = 0U, period = 0U; in next_period() local 106 period = bt_mesh_model_pub_period_get(mod); in next_period() [all …]
|
D | health_srv.c | 301 uint8_t period = 0U; in health_set_period() local 303 period = net_buf_simple_pull_u8(buf); in health_set_period() 304 if (period > 15) { in health_set_period() 305 BT_WARN("Prohibited period value %u", period); in health_set_period() 309 BT_DBG("period %u", period); in health_set_period() 311 model->pub->period_div = period; in health_set_period()
|
/hal_espressif-3.7.0/components/esp_timer/include/ |
D | esp_timer.h | 171 esp_err_t esp_timer_start_periodic(esp_timer_handle_t timer, uint64_t period); 249 esp_err_t esp_timer_get_period(esp_timer_handle_t timer, uint64_t *period);
|
/hal_espressif-3.7.0/components/hal/esp32s3/include/hal/ |
D | systimer_ll.h | 117 …c inline void systimer_ll_set_alarm_period(systimer_dev_t *dev, uint32_t alarm_id, uint32_t period) in systimer_ll_set_alarm_period() argument 119 HAL_ASSERT(period < (1 << 26)); in systimer_ll_set_alarm_period() 120 dev->target_conf[alarm_id].target_period = period; in systimer_ll_set_alarm_period()
|
/hal_espressif-3.7.0/components/hal/esp32c2/include/hal/ |
D | systimer_ll.h | 117 …c inline void systimer_ll_set_alarm_period(systimer_dev_t *dev, uint32_t alarm_id, uint32_t period) in systimer_ll_set_alarm_period() argument 119 HAL_ASSERT(period < (1 << 26)); in systimer_ll_set_alarm_period() 120 dev->target_conf[alarm_id].target_period = period; in systimer_ll_set_alarm_period()
|
/hal_espressif-3.7.0/components/bt/esp_ble_mesh/api/models/include/ |
D | esp_ble_mesh_config_model_api.h | 62 uint8_t period; /*!< Period for sending Heartbeat messages */ member 322 uint8_t period; /*!< Period for sending Heartbeat messages */ member 332 uint8_t period; /*!< Period for receiving Heartbeat messages */ member 446 uint8_t period; /*!< Period for periodic status publishing */ member 493 uint8_t period; /*!< Period for sending Heartbeat messages */ member 504 uint8_t period; /*!< Remaining Period for processing Heartbeat messages */ member
|
/hal_espressif-3.7.0/components/esp_rom/patches/ |
D | esp_rom_systimer.c | 49 void systimer_hal_set_alarm_period(systimer_hal_context_t *hal, uint32_t alarm_id, uint32_t period) in systimer_hal_set_alarm_period() argument 52 systimer_ll_set_alarm_period(hal->dev, alarm_id, hal->us_to_ticks(period)); in systimer_hal_set_alarm_period()
|
/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/ |
D | systimer_ll.h | 126 …c inline void systimer_ll_set_alarm_period(systimer_dev_t *dev, uint32_t alarm_id, uint32_t period) in systimer_ll_set_alarm_period() argument 128 HAL_ASSERT(period < (1 << 26)); in systimer_ll_set_alarm_period() 129 dev->target_conf[alarm_id].target_period = period; in systimer_ll_set_alarm_period()
|