Searched refs:timer_inst (Results 1 – 1 of 1) sorted by relevance
32 TIM_TypeDef *timer_inst; member58 counter_value = LL_TIM_GetCounter(dev_cfg->timer_inst) % dev_cfg->counts_per_revolution; in qdec_stm32_fetch()122 if (IS_TIM_32B_COUNTER_INSTANCE(dev_cfg->timer_inst)) { in qdec_stm32_initialize()127 LL_TIM_SetAutoReload(dev_cfg->timer_inst, max_counter_value); in qdec_stm32_initialize()129 if (LL_TIM_ENCODER_Init(dev_cfg->timer_inst, &init_props) != SUCCESS) { in qdec_stm32_initialize()134 LL_TIM_EnableCounter(dev_cfg->timer_inst); in qdec_stm32_initialize()151 .timer_inst = ((TIM_TypeDef *)DT_REG_ADDR(DT_INST_PARENT(n))), \