Home
last modified time | relevance | path

Searched refs:counter_top_cfg (Results 1 – 25 of 50) sorted by relevance

12

/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_counter_timing.c30 data->counter_top_cfg.ticks = in step_counter_timing_source_update()
36 ret = counter_set_top_value(config->counter, &data->counter_top_cfg); in step_counter_timing_source_update()
105 data->counter_top_cfg.callback = step_counter_top_interrupt; in step_counter_timing_source_init()
106 data->counter_top_cfg.user_data = data; in step_counter_timing_source_init()
107 data->counter_top_cfg.flags = 0; in step_counter_timing_source_init()
108 data->counter_top_cfg.ticks = counter_us_to_ticks(config->counter, 1000000); in step_counter_timing_source_init()
Dstep_dir_stepper_common.h81 struct counter_top_cfg counter_top_cfg; member
/Zephyr-latest/drivers/counter/
Dcounter_handlers.c112 const struct counter_top_cfg in z_vrfy_counter_set_top_value()
115 struct counter_top_cfg cfg_copy; in z_vrfy_counter_set_top_value()
122 (const struct counter_top_cfg *) in z_vrfy_counter_set_top_value()
Dcounter_native_posix.c27 static struct counter_top_cfg top;
138 const struct counter_top_cfg *cfg) in ctr_set_top_value()
Dcounter_gecko_stimer.c92 ((struct counter_top_cfg *)(top_data->user_data))->user_data); in top_callback()
137 static int counter_gecko_set_top_value(const struct device *dev, const struct counter_top_cfg *cfg) in counter_gecko_set_top_value()
161 dev_data->top_data.user_data = (struct counter_top_cfg *)cfg; in counter_gecko_set_top_value()
Dcounter_imx_epit.c100 const struct counter_top_cfg *cfg) in imx_epit_set_top_value()
Dcounter_esp32_rtc.c160 const struct counter_top_cfg *cfg) in counter_esp32_set_top_value()
Dtimer_dtmr_cmsdk_apb.c76 const struct counter_top_cfg *top_cfg) in dtmr_cmsdk_apb_set_top_value()
Dtimer_tmr_cmsdk_apb.c76 const struct counter_top_cfg *top_cfg) in tmr_cmsdk_apb_set_top_value()
Dcounter_mcux_lpc_rtc.c180 const struct counter_top_cfg *cfg) in mcux_lpc_rtc_set_top_value()
349 const struct counter_top_cfg *cfg) in mcux_lpc_rtc_highres_set_top_value()
Dcounter_max32_rtc.c95 static int api_set_top_value(const struct device *dev, const struct counter_top_cfg *counter_cfg) in api_set_top_value()
Dcounter_timer_shell.c158 struct counter_top_cfg top_cfg; in cmd_timer_periodic()
Dcounter_nrfx_rtc.c458 const struct counter_top_cfg *cfg) in set_fixed_top_value()
485 const struct counter_top_cfg *cfg) in set_top_value()
549 struct counter_top_cfg top_cfg = { in init_rtc()
Dcounter_mcux_lptmr.c68 const struct counter_top_cfg *cfg) in mcux_lptmr_set_top_value()
Dcounter_ifx_cat1.c37 struct counter_top_cfg top_value_cfg_counter;
250 const struct counter_top_cfg *cfg) in ifx_cat1_counter_set_top_value()
Dcounter_mcux_gpt.c153 const struct counter_top_cfg *cfg) in mcux_gpt_set_top_value()
Dcounter_rpi_pico_timer.c126 const struct counter_top_cfg *cfg) in counter_rpi_pico_timer_set_top_value()
Dcounter_gecko_rtcc.c91 const struct counter_top_cfg *cfg) in counter_gecko_set_top_value()
Dcounter_mcux_rtc.c148 const struct counter_top_cfg *cfg) in mcux_rtc_set_top_value()
Dcounter_mcux_snvs.c171 const struct counter_top_cfg *cfg) in mcux_snvs_set_top_value()
/Zephyr-latest/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/
Dtest_counter_fixed_top.c72 struct counter_top_cfg top_cfg = { in test_set_custom_top_value_fails_on_instance()
99 struct counter_top_cfg top_cfg = { in test_top_handler_on_instance()
/Zephyr-latest/include/zephyr/drivers/
Dcounter.h170 struct counter_top_cfg { struct
224 const struct counter_top_cfg *cfg);
525 const struct counter_top_cfg *cfg);
528 const struct counter_top_cfg in z_impl_counter_set_top_value()
/Zephyr-latest/tests/drivers/counter/maxim_ds3231_api/src/
Dtest_counter.c43 struct counter_top_cfg top_cfg = { in counter_tear_down_instance()
86 struct counter_top_cfg cfg = { in set_top_value_capable()
117 struct counter_top_cfg top_cfg = { in test_set_top_value_with_alarm_instance()
165 struct counter_top_cfg top_cfg = { in test_set_top_value_without_alarm_instance()
240 struct counter_top_cfg top_cfg = { in test_single_shot_alarm_instance()
369 struct counter_top_cfg top_cfg = { in test_multiple_alarms_instance()
/Zephyr-latest/tests/drivers/counter/counter_basic_api/src/
Dtest_counter.c174 struct counter_top_cfg top_cfg = { in counter_tear_down_instance()
223 struct counter_top_cfg cfg = { in set_top_value_capable()
262 struct counter_top_cfg top_cfg = { in test_set_top_value_with_alarm_instance()
314 struct counter_top_cfg top_cfg = { in test_set_top_value_without_alarm_instance()
405 struct counter_top_cfg top_cfg = { in test_single_shot_alarm_instance()
542 struct counter_top_cfg top_cfg = { in test_multiple_alarms_instance()
/Zephyr-latest/drivers/timer/
Dmcux_os_timer.c88 struct counter_top_cfg top_cfg = { 0 }; in mcux_lpc_ostick_set_counter_timeout()

12