|
void | stepper14_cfg_setup (stepper14_cfg_t *cfg) |
| Stepper 14 configuration object setup function.
|
|
err_t | stepper14_init (stepper14_t *ctx, stepper14_cfg_t *cfg) |
| Stepper 14 initialization function.
|
|
err_t | stepper14_default_cfg (stepper14_t *ctx) |
| Stepper 14 default configuration function.
|
|
err_t | stepper14_pca_write_reg (stepper14_t *ctx, uint8_t reg, uint8_t data_in) |
| Stepper 14 pca write reg function.
|
|
err_t | stepper14_pca_read_reg (stepper14_t *ctx, uint8_t reg, uint8_t *data_out) |
| Stepper 14 pca read reg function.
|
|
void | stepper14_set_rst_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set rst pin function.
|
|
void | stepper14_reset_pca (stepper14_t *ctx) |
| Stepper 14 reset device function.
|
|
uint8_t | stepper14_get_fault_pin (stepper14_t *ctx) |
| Stepper 14 get FAULT pin function.
|
|
void | stepper14_enable_device (stepper14_t *ctx) |
| Stepper 14 enable device function.
|
|
void | stepper14_disable_device (stepper14_t *ctx) |
| Stepper 14 disable device function.
|
|
err_t | stepper14_set_in1_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set IN1 pin function.
|
|
err_t | stepper14_set_in2_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set IN2 pin function.
|
|
err_t | stepper14_set_in3_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set IN3 pin function.
|
|
err_t | stepper14_set_in4_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set IN4 pin function.
|
|
err_t | stepper14_set_mode_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set MODE pin function.
|
|
err_t | stepper14_set_trq_pin (stepper14_t *ctx, uint8_t state) |
| Stepper 14 set TRQ pin function.
|
|
err_t | stepper14_set_interface_mode (stepper14_t *ctx, uint8_t mode) |
| Stepper 14 set interface mode function.
|
|
void | stepper14_set_step_mode (stepper14_t *ctx, uint8_t mode) |
| Stepper 14 set step mode function.
|
|
void | stepper14_set_direction (stepper14_t *ctx, uint8_t dir) |
| Stepper 14 set direction function.
|
|
void | stepper14_switch_direction (stepper14_t *ctx) |
| Stepper 14 switch direction function.
|
|
err_t | stepper14_drive_motor (stepper14_t *ctx, uint32_t steps, uint8_t speed) |
| Stepper 14 driver motor function.
|
|
This file contains API for Stepper 14 Click Driver.