Home
last modified time | relevance | path

Searched refs:counter_value (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/boards/native/native_posix/
Dhw_counter.c17 static uint64_t counter_value; variable
29 counter_value = 0; in hw_counter_init()
43 counter_value = (counter_value + 1) % counter_wrap; in hw_counter_triggered()
45 if (counter_value == counter_target) { in hw_counter_triggered()
107 return counter_value; in hw_counter_get_value()
115 counter_value = 0; in hw_counter_reset()
/Zephyr-latest/scripts/native_simulator/native/src/
Dhw_counter.c17 static uint64_t counter_value; variable
29 counter_value = 0; in hw_counter_init()
45 counter_value = (counter_value + 1) % counter_wrap; in hw_counter_triggered()
47 if (counter_value == counter_target) { in hw_counter_triggered()
111 return counter_value; in hw_counter_get_value()
119 counter_value = 0; in hw_counter_reset()
/Zephyr-latest/drivers/sensor/st/qdec_stm32/
Dqdec_stm32.c48 uint32_t counter_value; in qdec_stm32_fetch() local
58 counter_value = LL_TIM_GetCounter(dev_cfg->timer_inst) % dev_cfg->counts_per_revolution; in qdec_stm32_fetch()
59 dev_data->position = (counter_value * 360) / dev_cfg->counts_per_revolution; in qdec_stm32_fetch()
/Zephyr-latest/samples/subsys/logging/logger/
DREADME.rst40 [00:00:00.106,204] <inf> sample_instance.inst1: counter_value: 0
44 [00:00:00.106,218] <inf> sample_instance.inst2: counter_value: 0
51 [00:00:00.106,307] <inf> sample_instance.inst2: counter_value: 1