/Zephyr-latest/drivers/counter/ |
D | counter_max32_timer.c | 78 if (counter_cfg->ticks != cfg->info.max_top_value) { in api_set_top_value() 96 return cfg->info.max_top_value; in api_get_top_value() 180 MXC_TMR_SetCompare(cfg->regs, cfg->info.max_top_value); in api_cancel_alarm() 256 tmr_cfg.cmp_cnt = cfg->info.max_top_value; in max32_counter_init() 279 MXC_TMR_SetCompare(regs, cfg->info.max_top_value); in max32_counter_init() 321 .max_top_value = WRAP_MXC_IS_32B_TIMER(MAX32_TIM(_num)) \
|
D | counter_mcux_gpt.c | 159 if (cfg->ticks != config->info.max_top_value) { in mcux_gpt_set_top_value() 161 config->info.max_top_value); in mcux_gpt_set_top_value() 177 return config->info.max_top_value; in mcux_gpt_get_top_value() 236 .max_top_value = UINT32_MAX, \
|
D | counter_mcux_ctimer.c | 87 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, \
|
D | counter_esp32_rtc.c | 164 if (cfg->ticks != config->counter_info.max_top_value) { in counter_esp32_set_top_value() 189 return cfg->counter_info.max_top_value; in counter_esp32_get_top_value() 203 .max_top_value = UINT32_MAX,
|
D | counter_mcux_rtc.c | 155 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() 284 .max_top_value = UINT32_MAX,
|
D | counter_max32_rtc.c | 104 if (counter_cfg->ticks != cfg->info.max_top_value) { in api_set_top_value() 130 return cfg->info.max_top_value; in api_get_top_value() 253 .max_top_value = MAX32_RTC_COUNTER_MAX_VALUE, \
|
D | counter_mchp_xec.c | 203 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), \
|
D | counter_mcux_qtmr.c | 216 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, \
|
D | counter_ambiq_timer.c | 213 if (cfg->ticks != config->counter_info.max_top_value) { in counter_ambiq_set_top_value() 229 return config->counter_info.max_top_value; in counter_ambiq_get_top_value() 300 .counter_info = {.max_top_value = UINT32_MAX, \
|
D | counter_mcux_lpc_rtc.c | 198 return info->max_top_value; in mcux_lpc_rtc_get_top_value() 240 .max_top_value = UINT32_MAX, \ 386 return info->max_top_value; in mcux_lpc_rtc_highres_get_top_value() 446 .max_top_value = UINT16_MAX, \
|
D | counter_xlnx_axi_timer.c | 296 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 = \
|
D | counter_nxp_s32_sys_timer.c | 120 const uint32_t top_val = config->info.max_top_value; in stm_set_alarm() 245 if (alarm_cfg->ticks > config->info.max_top_value) { in nxp_s32_sys_timer_set_alarm() 297 return config->info.max_top_value; in nxp_s32_sys_timer_get_top_value() 403 .max_top_value = SYS_TIMER_MAX_VALUE, \
|
D | counter_esp32_tmr.c | 188 if (cfg->ticks != config->counter_info.max_top_value) { in counter_esp32_set_top_value() 206 return config->counter_info.max_top_value; in counter_esp32_get_top_value() 256 .counter_info = {.max_top_value = UINT32_MAX, \
|
D | counter_nxp_mrt.c | 88 base, channel_id, config->info.max_top_value); in nxp_mrt_start() 89 data->top = config->info.max_top_value; in nxp_mrt_start() 337 .max_top_value = \
|
D | counter_nxp_pit.c | 221 USEC_TO_COUNT(config->info.max_top_value, clock_rate)); in nxp_pit_init() 230 USEC_TO_COUNT(config->info.max_top_value, clock_rate)); in nxp_pit_init() 350 .max_top_value = \
|
D | counter_mcux_lptmr.c | 146 LPTMR_SetTimerPeriod(config->base, config->info.max_top_value); in mcux_lptmr_init() 183 .max_top_value = \
|
D | counter_rpi_pico_timer.c | 66 return config->info.max_top_value; in counter_rpi_pico_timer_get_top_value() 230 .max_top_value = UINT32_MAX, \
|
D | counter_cmos.c | 198 .max_top_value = UINT_MAX,
|
D | counter_ifx_cat1.c | 163 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) \
|
D | counter_ll_stm32_rtc.c | 488 return info->max_top_value; in rtc_stm32_get_top_value() 497 if ((cfg->ticks != info->max_top_value) || in rtc_stm32_set_top_value() 628 .max_top_value = UINT32_MAX,
|
D | counter_andes_atcpit100.c | 148 reg = config->info.max_top_value * config->divider; in counter_atcpit100_init() 360 if (cfg->ticks > config->info.max_top_value) { in atcpit100_set_top_value() 484 .max_top_value = \
|
D | counter_imx_epit.c | 151 .max_top_value = COUNTER_MAX_RELOAD, \
|
D | counter_renesas_ra_agt.c | 111 return config->info.max_top_value; in counter_ra_agt_get_top_value() 120 if (cfg->ticks != config->info.max_top_value) { in counter_ra_agt_set_top_value() 548 .max_top_value = UINT16_MAX, \
|
D | counter_native_posix.c | 242 .max_top_value = UINT_MAX,
|
/Zephyr-latest/include/zephyr/drivers/ |
D | counter.h | 195 uint32_t max_top_value; member 352 return config->max_top_value; in z_impl_counter_get_max_top_value()
|