Searched refs:TICKS_PER_US (Results 1 – 1 of 1) sorted by relevance
80 #define TICKS_PER_US 2 macro168 return esp_timer_impl_get_counter_reg() / TICKS_PER_US; in esp_timer_impl_get_time()180 int64_t offset = TICKS_PER_US * 2; in esp_timer_impl_set_alarm_id()182 timer_64b_reg_t alarm = { .val = MAX(timestamp * TICKS_PER_US, now_time + offset) }; in esp_timer_impl_set_alarm_id()192 offset += abs((int)delta) + TICKS_PER_US * 2; in esp_timer_impl_set_alarm_id()220 …assert(apb_ticks_per_us % TICKS_PER_US == 0 && "APB frequency (in MHz) should be divisible by TICK… in esp_timer_impl_update_apb_freq()221 REG_SET_FIELD(CONFIG_REG, TIMG_LACT_DIVIDER, apb_ticks_per_us / TICKS_PER_US); in esp_timer_impl_update_apb_freq()229 timer_64b_reg_t dst = { .val = (now + time_diff_us) * TICKS_PER_US }; in esp_timer_impl_advance()247 REG_SET_FIELD(CONFIG_REG, TIMG_LACT_DIVIDER, APB_CLK_FREQ / 1000000 / TICKS_PER_US); in esp_timer_impl_early_init()281 uint32_t slowclk_ticks_per_us = REG_READ(RTC_SLOW_CLK_CAL_REG) * TICKS_PER_US; in esp_timer_impl_init()