Searched refs:counter_value (Results 1 – 4 of 4) sorted by relevance
17 static uint64_t counter_value; variable28 counter_value = 0; in hw_counter_init()41 counter_value = counter_value + 1; in hw_counter_triggered()43 if (counter_value == counter_target) { in hw_counter_triggered()90 return counter_value; in hw_counter_get_value()
17 static uint64_t counter_value; variable28 counter_value = 0; in hw_counter_init()43 counter_value = counter_value + 1; in hw_counter_triggered()45 if (counter_value == counter_target) { in hw_counter_triggered()94 return counter_value; in hw_counter_get_value()
47 uint32_t counter_value; in qdec_stm32_fetch() local57 counter_value = LL_TIM_GetCounter(dev_cfg->timer_inst) % dev_cfg->counts_per_revolution; in qdec_stm32_fetch()58 dev_data->position = (counter_value * 360) / dev_cfg->counts_per_revolution; in qdec_stm32_fetch()
40 [00:00:00.106,204] <inf> sample_instance.inst1: counter_value: 044 [00:00:00.106,218] <inf> sample_instance.inst2: counter_value: 051 [00:00:00.106,307] <inf> sample_instance.inst2: counter_value: 1