1# SPDX-FileCopyrightText: Copyright (c) 2024 Jilay Sandeep Pandya 2# SPDX-License-Identifier: Apache-2.0 3 4config STEPPER_ADI_$(module)_RAMPSTAT_POLL 5 bool "$(module-str) poll ramp status" 6 depends on STEPPER_ADI_$(module) 7 default y 8 help 9 When enabled, the ramp status will be polled on TMC, to check for events: 10 - TMC_POS_REACHED_EVENT 11 - TMC_STOP_SG_EVENT 12 - TMC_STOP_LEFT_EVENT 13 - TMC_STOP_RIGHT_EVENT 14 15config STEPPER_ADI_$(module)_RAMPSTAT_POLL_INTERVAL_IN_MSEC 16 int "$(module-str) poll ramp status interval in ms" 17 depends on STEPPER_ADI_$(module)_RAMPSTAT_POLL 18 default 100 19 help 20 The interval in ms to poll the ramp status on TMC. 21 22config STEPPER_ADI_$(module)_RAMP_GEN 23 bool "Use $(module-str) with Ramp Generator" 24 depends on STEPPER_ADI_$(module) 25 default y 26 help 27 Enable ramp generator for trinamic stepper controller 28