Searched defs:motor (Results 1 – 2 of 2) sorted by relevance
102 #define TMC5041_PWMCONF(motor) (0x10 | TMC5041_MOTOR_ADDR_PWM(motor)) argument103 #define TMC5041_PWM_STATUS(motor) (0x11 | TMC5041_MOTOR_ADDR_PWM(motor)) argument105 #define TMC5041_RAMPMODE(motor) (0x00 | TMC5041_MOTOR_ADDR(motor)) argument106 #define TMC5041_XACTUAL(motor) (0x01 | TMC5041_MOTOR_ADDR(motor)) argument107 #define TMC5041_VACTUAL(motor) (0x02 | TMC5041_MOTOR_ADDR(motor)) argument108 #define TMC5041_VSTART(motor) (0x03 | TMC5041_MOTOR_ADDR(motor)) argument109 #define TMC5041_A1(motor) (0x04 | TMC5041_MOTOR_ADDR(motor)) argument110 #define TMC5041_V1(motor) (0x05 | TMC5041_MOTOR_ADDR(motor)) argument111 #define TMC5041_AMAX(motor) (0x06 | TMC5041_MOTOR_ADDR(motor)) argument112 #define TMC5041_VMAX(motor) (0x07 | TMC5041_MOTOR_ADDR(motor)) argument[all …]
13 enum motor { enum44 static void motor_control(enum motor motor, int16_t speed) in motor_control()