10 struct rpi_in* spi_dat;
13 uint16_t pwm1, pwm2, pwm3;
14 uint16_t t_pwm1, t_pwm2, t_pwm3;
16 int duty; /* duty cycle of pwm */
17 uint16_t index_dist; /* distance to index position */
18 unsigned char index_ok;
19 uint32_t tf_count; /*number of transfer*/
20 int desired_pos; /* desired position */