/hal_espressif-latest/components/esp_hw_support/port/esp32c2/ |
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 159 assert(period); in rtc_time_us_to_slowclk() 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-latest/components/esp_hw_support/port/esp32s2/ |
D | rtc_time.c | 128 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_xtal_to_slowclk() local 129 return period; in rtc_clk_xtal_to_slowclk() 221 uint32_t period = rtc_clk_xtal_to_slowclk(xtal_cycles, slowclk_cycles); in rtc_clk_cal_cycling() local 222 return period; in rtc_clk_cal_cycling() 225 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 227 assert(period); in rtc_time_us_to_slowclk() 231 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 234 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 236 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-latest/components/esp_hw_support/port/esp32c3/ |
D | rtc_time.c | 156 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 157 return period; in rtc_clk_cal() 160 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 162 assert(period); in rtc_time_us_to_slowclk() 166 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 169 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 171 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-latest/components/esp_hw_support/port/esp32s3/ |
D | rtc_time.c | 155 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 156 return period; in rtc_clk_cal() 159 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 161 assert(period); in rtc_time_us_to_slowclk() 165 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 168 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 170 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-latest/components/esp_hw_support/port/esp32/ |
D | rtc_time.c | 139 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 140 return period; in rtc_clk_cal() 143 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 145 assert(period); in rtc_time_us_to_slowclk() 149 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 152 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 154 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-latest/components/esp_timer/src/ |
D | esp_timer.c | 76 uint64_t period:56; member 191 const uint64_t period = timer->period; in esp_timer_restart() local 202 if (period != 0) { in esp_timer_restart() 206 timer->period = new_period; in esp_timer_restart() 210 timer->period = 0; in esp_timer_restart() 243 timer->period = 0; in esp_timer_start_once() 273 timer->period = period_us; in esp_timer_start_periodic() 325 timer->period = 0; in esp_timer_delete() 366 timer->period = 0; in timer_remove() 450 if (it->period > 0) { in timer_process_alarm() [all …]
|
/hal_espressif-latest/components/esp_hw_support/port/esp32c6/ |
D | rtc_time.c | 231 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 232 return period; in rtc_clk_cal() 235 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 237 assert(period); in rtc_time_us_to_slowclk() 241 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 244 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 246 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-latest/components/esp_hw_support/port/esp32h2/ |
D | rtc_time.c | 231 uint32_t period = (uint32_t)(period_64 & UINT32_MAX); in rtc_clk_cal() local 232 return period; in rtc_clk_cal() 235 uint64_t rtc_time_us_to_slowclk(uint64_t time_in_us, uint32_t period) in rtc_time_us_to_slowclk() argument 237 assert(period); in rtc_time_us_to_slowclk() 241 return (time_in_us << RTC_CLK_CAL_FRACT) / period; in rtc_time_us_to_slowclk() 244 uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) in rtc_time_slowclk_to_us() argument 246 return (rtc_cycles * period) >> RTC_CLK_CAL_FRACT; in rtc_time_slowclk_to_us()
|
/hal_espressif-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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()
|
/hal_espressif-latest/components/hal/esp32h2/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()
|
/hal_espressif-latest/zephyr/port/coex/ |
D | coex_stubs.c | 490 int coex_schm_flexible_period_set(uint8_t period) in coex_schm_flexible_period_set() argument 492 (void)period; in coex_schm_flexible_period_set()
|