Searched refs:tick_us (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/timer/ |
D | sy1xx_sys_timer.c | 66 uint32_t tick_us; member 115 if (cfg->tick_us < SY1XX_MINIMUM_ALLOWED_TICK) { in sy1xx_sys_timer_config() 116 cfg->tick_us = SY1XX_MINIMUM_ALLOWED_TICK; in sy1xx_sys_timer_config() 120 uint32_t us = cfg->tick_us; in sy1xx_sys_timer_config() 127 printk("timer [%d] expected %u (%d)\n", sy1xx_soc_get_rts_clock_frequency(), cfg->tick_us, in sy1xx_sys_timer_config() 165 .tick_us = DT_PROP(SY1XX_SYS_TIMER_NODE, ticks_us), in sy1xx_sys_timer_init()
|
/Zephyr-latest/tests/drivers/counter/counter_basic_api/src/ |
D | test_counter.c | 790 uint32_t tick_us = (uint32_t)counter_ticks_to_us(dev, 1); in test_late_alarm_instance() local 806 k_busy_wait(2*tick_us); in test_late_alarm_instance() 813 k_busy_wait(5*tick_us); in test_late_alarm_instance() 830 k_busy_wait(3*tick_us); in test_late_alarm_instance() 842 uint32_t tick_us = (uint32_t)counter_ticks_to_us(dev, 1); in test_late_alarm_error_instance() local 857 k_busy_wait(2*tick_us); in test_late_alarm_error_instance() 908 uint32_t tick_us = (uint32_t)counter_ticks_to_us(dev, 1); in test_short_relative_alarm_instance() local 916 tick_us = tick_us == 0 ? 1 : tick_us; in test_short_relative_alarm_instance() 934 k_busy_wait(3*tick_us); in test_short_relative_alarm_instance()
|
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/ |
D | test_counter.c | 526 uint32_t tick_us = (uint32_t)counter_ticks_to_us(dev, 1); in test_late_alarm_instance() local 542 k_sleep(K_USEC(2 * tick_us)); in test_late_alarm_instance() 549 k_sleep(K_USEC(5 * tick_us)); in test_late_alarm_instance() 565 k_sleep(K_USEC(3 * tick_us)); in test_late_alarm_instance() 576 uint32_t tick_us = (uint32_t)counter_ticks_to_us(dev, 1); in test_late_alarm_error_instance() local 591 k_sleep(K_USEC(2 * tick_us)); in test_late_alarm_error_instance() 638 uint32_t tick_us = (uint32_t)counter_ticks_to_us(dev, 1); in test_short_relative_alarm_instance() local 657 k_sleep(K_USEC(3 * tick_us)); in test_short_relative_alarm_instance()
|