54 MD_STEP_MODE_T stepMode;
125 MD_DC_DIRECTION_T dirB);
181 MD_STEP_MODE_T mode);
void md_config_stepper(const md_context dev, unsigned int stepsPerRev, MD_STEP_MODE_T mode)
Definition: md.c:254
bool md_enable_stepper(const md_context dev, MD_STEP_DIRECTION_T dir, uint8_t speed)
Definition: md.c:179
struct _md_context * md_context
bool md_disable_stepper(const md_context dev)
Definition: md.c:221
bool md_set_motor_speeds(const md_context dev, uint8_t speedA, uint8_t speedB)
Definition: md.c:156
bool md_write_packet(const md_context dev, MD_REG_T reg, uint8_t data1, uint8_t data2)
Definition: md.c:129
void md_close(md_context dev)
Definition: md.c:113
bool md_set_pwm_frequency_prescale(const md_context dev, uint8_t freq)
Definition: md.c:163
md_context md_init(int bus, uint8_t address)
Definition: md.c:60
bool md_set_stepper_steps(const md_context dev, unsigned int steps)
Definition: md.c:233
bool md_set_motor_directions(const md_context dev, MD_DC_DIRECTION_T dirA, MD_DC_DIRECTION_T dirB)
Definition: md.c:170