Searched refs:counter_stm32_read (Results 1 – 1 of 1) sorted by relevance
145 static uint32_t counter_stm32_read(const struct device *dev) in counter_stm32_read() function154 *ticks = counter_stm32_read(dev); in counter_stm32_get_value()216 now = counter_stm32_read(dev); in counter_stm32_set_cc()245 diff = counter_stm32_ticks_sub(val - 1U, counter_stm32_read(dev), top); in counter_stm32_set_cc()322 } else if (counter_stm32_read(dev) >= cfg->ticks) { in counter_stm32_set_top_value()