|
void | stepper11_cfg_setup (stepper11_cfg_t *cfg) |
| Stepper 11 configuration object setup function.
|
|
err_t | stepper11_init (stepper11_t *ctx, stepper11_cfg_t *cfg) |
| Stepper 11 initialization function.
|
|
err_t | stepper11_default_cfg (stepper11_t *ctx) |
| Stepper 11 default configuration function.
|
|
err_t | stepper11_generic_write (stepper11_t *ctx, uint8_t reg, uint8_t tx_data) |
| Stepper 11 I2C writing function.
|
|
err_t | stepper11_generic_read (stepper11_t *ctx, uint8_t reg, uint8_t *rx_data) |
| Stepper 11 I2C reading function.
|
|
void | stepper11_set_direction (stepper11_t *ctx, uint8_t state) |
| Set direction.
|
|
void | stepper11_set_enable (stepper11_t *ctx, uint8_t state) |
| Set enable.
|
|
void | stepper11_set_reset (stepper11_t *ctx, uint8_t state) |
| Set restart.
|
|
void | stepper11_set_clock (stepper11_t *ctx, uint8_t state) |
| Set clock state.
|
|
uint8_t | stepper11_get_interrupt (stepper11_t *ctx) |
| Get interrupt.
|
|
uint8_t | stepper11_get_diag (stepper11_t *ctx) |
| Get anomaly detection flag.
|
|
uint8_t | stepper11_get_mo (stepper11_t *ctx) |
| Get electrical angle monitoring signal.
|
|
uint8_t | stepper11_get_sd (stepper11_t *ctx) |
| Get stall detection flag.
|
|
err_t | stepper11_set_step_resolution (stepper11_t *ctx, uint8_t step_res) |
| Set step resolution.
|
|
err_t | stepper11_set_torque (stepper11_t *ctx, uint8_t torque) |
| Set torque.
|
|
void | stepper11_move_motor_angle (stepper11_t *ctx, float degree, uint8_t speed) |
| Move motor in angle value.
|
|
void | stepper11_move_motor_step (stepper11_t *ctx, uint16_t steps, uint8_t speed) |
| Move motor in step value.
|
|
This file contains API for Stepper 11 Click Driver.