Searched refs:stepper_signal (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/drivers/stepper/stepper_api/src/ |
D | main.c | 15 struct k_poll_signal stepper_signal; variable 25 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_STEPS_COMPLETED); in stepper_print_event_callback() 28 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_LEFT_END_STOP_DETECTED); in stepper_print_event_callback() 31 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_RIGHT_END_STOP_DETECTED); in stepper_print_event_callback() 34 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_STALL_DETECTED); in stepper_print_event_callback() 48 k_poll_signal_init(&stepper_signal); in stepper_setup() 50 &stepper_signal); in stepper_setup() 61 k_poll_signal_reset(&stepper_signal); in stepper_before() 97 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F()
|
/Zephyr-latest/tests/drivers/stepper/drv8424/api/src/ |
D | main.c | 20 struct k_poll_signal stepper_signal; variable 28 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_STEPS_COMPLETED); in drv8424_api_print_event_callback() 31 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_LEFT_END_STOP_DETECTED); in drv8424_api_print_event_callback() 34 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_RIGHT_END_STOP_DETECTED); in drv8424_api_print_event_callback() 37 k_poll_signal_raise(&stepper_signal, STEPPER_EVENT_STALL_DETECTED); in drv8424_api_print_event_callback() 51 k_poll_signal_init(&stepper_signal); in drv8424_api_setup() 53 &stepper_signal); in drv8424_api_setup() 64 k_poll_signal_reset(&stepper_signal); in drv8424_api_before() 177 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F() 197 k_poll_signal_check(&stepper_signal, &signaled, &result); in ZTEST_F() [all …]
|