-
Notifications
You must be signed in to change notification settings - Fork 7.3k
/
Copy pathstepper-controller.yaml
55 lines (47 loc) · 1.26 KB
/
stepper-controller.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
# SPDX-License-Identifier: Apache-2.0
description: Stepper Controller
properties:
invert-direction:
type: boolean
description: |
Invert motor direction.
micro-step-res:
type: int
default: 1
enum:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
- 256
description: |
micro-step resolution to be set while initializing the device driver.
en-gpios:
type: phandle-array
description: |
GPIO pins used to control the enable signal of the motor driver.
step-gpios:
type: phandle-array
description: |
The GPIO pins used to send step signals to the stepper motor.
dir-gpios:
type: phandle-array
description: |
The GPIO pins used to send direction signals to the stepper motor.
Pin will be driven high for forward direction and low for reverse direction.
msx-gpios:
type: phandle-array
description: |
An array of GPIO pins for configuring the microstep resolution of the driver.
The pins should be listed in the following order:
- MS1
- MS2
- MS3
counter:
type: phandle
description: Counter used for generating step-accurate pulse signals.