Home
last modified time | relevance | path

Searched refs:max_top_value (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-Core-3.5.0/drivers/counter/
Dcounter_ambiq_timer.c131 if (cfg->ticks != config->counter_info.max_top_value) { in counter_ambiq_set_top_value()
147 return config->counter_info.max_top_value; in counter_ambiq_get_top_value()
180 .counter_info = {.max_top_value = UINT32_MAX, \
Dcounter_esp32_rtc.c152 if (cfg->ticks != config->counter_info.max_top_value) { in counter_esp32_set_top_value()
177 return info->max_top_value; in counter_esp32_get_top_value()
184 .max_top_value = UINT32_MAX,
Dcounter_mcux_gpt.c146 if (cfg->ticks != config->info.max_top_value) { in mcux_gpt_set_top_value()
148 config->info.max_top_value); in mcux_gpt_set_top_value()
164 return config->info.max_top_value; in mcux_gpt_get_top_value()
219 .max_top_value = UINT32_MAX, \
Dcounter_mcux_ctimer.c87 return config->info.max_top_value; in mcux_lpc_ctimer_get_top_value()
90 return config->info.max_top_value; in mcux_lpc_ctimer_get_top_value()
155 if (cfg->ticks != config->info.max_top_value) { in mcux_lpc_ctimer_set_top_value()
157 config->info.max_top_value); in mcux_lpc_ctimer_set_top_value()
296 .max_top_value = UINT32_MAX, \
Dcounter_mcux_rtc.c155 if (cfg->ticks != info->max_top_value) { in mcux_rtc_set_top_value()
156 LOG_ERR("Wrap can only be set to 0x%x.", info->max_top_value); in mcux_rtc_set_top_value()
185 return info->max_top_value; in mcux_rtc_get_top_value()
267 .max_top_value = UINT32_MAX,
Dcounter_mcux_lpc_rtc.c136 if (cfg->ticks != info->max_top_value) { in mcux_lpc_rtc_set_top_value()
137 LOG_ERR("Wrap can only be set to 0x%x.", info->max_top_value); in mcux_lpc_rtc_set_top_value()
166 return info->max_top_value; in mcux_lpc_rtc_get_top_value()
240 .max_top_value = UINT32_MAX, \
Dcounter_mchp_xec.c203 if (cfg->ticks > counter_cfg->info.max_top_value) { in counter_xec_set_top_value()
300 counter->PRLD = counter_cfg->info.max_top_value; in counter_xec_init()
301 counter->CNT = counter_cfg->info.max_top_value; in counter_xec_init()
321 .max_top_value = DT_INST_PROP(inst, max_value), \
Dcounter_mcux_qtmr.c216 if (cfg->ticks != config->info.max_top_value) { in mcux_qtmr_set_top_value()
218 config->info.max_top_value); in mcux_qtmr_set_top_value()
247 return config->info.max_top_value; in mcux_qtmr_get_top_value()
313 .max_top_value = UINT16_MAX, \
Dcounter_esp32_tmr.c182 if (cfg->ticks != config->counter_info.max_top_value) { in counter_esp32_set_top_value()
202 return config->counter_info.max_top_value; in counter_esp32_get_top_value()
242 .max_top_value = UINT32_MAX, \
Dcounter_nxp_s32_sys_timer.c82 if (ticks > config->info.max_top_value) { in nxp_s32_sys_timer_set_alarm()
145 return config->info.max_top_value; in nxp_s32_sys_timer_get_top_value()
250 .max_top_value = SYS_TIMER_MAX_VALUE, \
Dcounter_xlnx_axi_timer.c296 LOG_DBG("max top value = 0x%08x", config->info.max_top_value); in xlnx_axi_timer_init()
300 xlnx_axi_timer_write32(dev, config->info.max_top_value, TLR0_OFFSET); in xlnx_axi_timer_init()
328 .max_top_value = \
Dcounter_rpi_pico_timer.c61 return config->info.max_top_value; in counter_rpi_pico_timer_get_top_value()
207 .max_top_value = UINT32_MAX, \
Dcounter_native_posix.c148 .max_top_value = UINT_MAX,
Dcounter_ll_stm32_rtc.c453 return info->max_top_value; in rtc_stm32_get_top_value()
462 if ((cfg->ticks != info->max_top_value) || in rtc_stm32_set_top_value()
605 .max_top_value = UINT32_MAX,
Dcounter_cmos.c198 .max_top_value = UINT_MAX,
Dcounter_ifx_cat1.c163 data->counter_cfg.period = config->counter_info.max_top_value; in ifx_cat1_counter_init()
264 if (cfg->ticks > config->counter_info.max_top_value) { in ifx_cat1_counter_set_top_value()
512 .counter_info = {.max_top_value = (DT_INST_PROP(n, resolution) == 32) \
Dcounter_andes_atcpit100.c143 reg = config->info.max_top_value * config->divider; in counter_atcpit100_init()
355 if (cfg->ticks > config->info.max_top_value) { in atcpit100_set_top_value()
479 .max_top_value = \
Dcounter_imx_epit.c151 .max_top_value = COUNTER_MAX_RELOAD, \
Dtimer_tmr_cmsdk_apb.c174 .max_top_value = UINT32_MAX, \
Dtimer_dtmr_cmsdk_apb.c178 .max_top_value = UINT32_MAX, \
Dcounter_mcux_lptmr.c208 .max_top_value = UINT16_MAX,
Dcounter_mcux_pit.c197 .max_top_value = DT_INST_PROP(n, max_load_value), \
Dcounter_gd32_timer.c445 set_autoreload_value(dev, cfg->counter_info.max_top_value); in counter_gd32_timer_init()
512 .counter_info = {.max_top_value = COND_CODE_1( \
Dcounter_mcux_snvs.c321 .max_top_value = 0,
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dcounter.h193 uint32_t max_top_value; member
350 return config->max_top_value; in z_impl_counter_get_max_top_value()

12