Home
last modified time | relevance | path

Searched refs:stepper_event (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/drivers/stepper/stepper_api/src/
Dmain.c16 struct k_poll_event stepper_event; variable
19 static void stepper_print_event_callback(const struct device *dev, enum stepper_event event, in stepper_print_event_callback()
49 k_poll_event_init(&stepper_event, K_POLL_TYPE_SIGNAL, K_POLL_MODE_NOTIFY_ONLY, in stepper_setup()
93 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
/Zephyr-latest/tests/drivers/stepper/drv8424/api/src/
Dmain.c21 struct k_poll_event stepper_event; variable
23 static void drv8424_api_print_event_callback(const struct device *dev, enum stepper_event event, in drv8424_api_print_event_callback()
52 k_poll_event_init(&stepper_event, K_POLL_TYPE_SIGNAL, K_POLL_MODE_NOTIFY_ONLY, in drv8424_api_setup()
173 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
193 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
213 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
262 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
299 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
319 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
339 (void)k_poll(&stepper_event, 1, K_SECONDS(5)); in ZTEST_F()
[all …]
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.c56 static void stepper_trigger_callback(const struct device *dev, enum stepper_event event) in stepper_trigger_callback()
92 enum stepper_event event; in stepper_work_event_handler()
218 k_msgq_init(&data->event_msgq, data->event_msgq_buffer, sizeof(enum stepper_event), in step_dir_stepper_common_init()
Dstep_dir_stepper_common.h89 sizeof(enum stepper_event)];
/Zephyr-latest/include/zephyr/drivers/
Dstepper.h83 enum stepper_event { enum
177 typedef void (*stepper_event_callback_t)(const struct device *dev, const enum stepper_event event,
/Zephyr-latest/drivers/stepper/
Dstepper_shell.c43 static void print_callback(const struct device *dev, const enum stepper_event event, in print_callback()
/Zephyr-latest/drivers/stepper/adi_tmc/
Dadi_tmc5041_stepper_controller.c170 static void execute_callback(const struct device *dev, const enum stepper_event event) in execute_callback()