|
void | silentstep4_cfg_setup (silentstep4_cfg_t *cfg) |
| Silent Step 4 configuration object setup function.
|
|
err_t | silentstep4_init (silentstep4_t *ctx, silentstep4_cfg_t *cfg) |
| Silent Step 4 initialization function.
|
|
err_t | silentstep4_default_cfg (silentstep4_t *ctx) |
| Silent Step 4 default configuration function.
|
|
err_t | silentstep4_write_reg (silentstep4_t *ctx, uint8_t reg, uint32_t data_in) |
| Silent Step 4 write reg function.
|
|
err_t | silentstep4_read_reg (silentstep4_t *ctx, uint8_t reg, uint32_t *data_out) |
| Silent Step 4 read reg function.
|
|
err_t | silentstep4_pca_write_reg (silentstep4_t *ctx, uint8_t reg, uint8_t data_in) |
| Silent Step 4 pca write reg function.
|
|
err_t | silentstep4_pca_read_reg (silentstep4_t *ctx, uint8_t reg, uint8_t *data_out) |
| Silent Step 4 pca read reg function.
|
|
err_t | silentstep4_check_com (silentstep4_t *ctx) |
| Silent Step 4 check com function.
|
|
err_t | silentstep4_get_en_pin (silentstep4_t *ctx, uint8_t *state) |
| Silent Step 4 get en pin function.
|
|
err_t | silentstep4_set_en_pin (silentstep4_t *ctx, uint8_t state) |
| Silent Step 4 set en pin function.
|
|
err_t | silentstep4_get_sleep_pin (silentstep4_t *ctx, uint8_t *state) |
| Silent Step 4 get sleep pin function.
|
|
err_t | silentstep4_set_sleep_pin (silentstep4_t *ctx, uint8_t state) |
| Silent Step 4 set sleep pin function.
|
|
err_t | silentstep4_get_diag0_pin (silentstep4_t *ctx, uint8_t *state) |
| Silent Step 4 get diag0 pin function.
|
|
err_t | silentstep4_get_diag1_pin (silentstep4_t *ctx, uint8_t *state) |
| Silent Step 4 get diag1 pin function.
|
|
err_t | silentstep4_get_ov_pin (silentstep4_t *ctx, uint8_t *state) |
| Silent Step 4 get ov pin function.
|
|
err_t | silentstep4_enable_device (silentstep4_t *ctx) |
| Silent Step 4 enable device function.
|
|
err_t | silentstep4_disable_device (silentstep4_t *ctx) |
| Silent Step 4 disable device function.
|
|
void | silentstep4_set_direction (silentstep4_t *ctx, uint8_t dir) |
| Silent Step 4 set direction function.
|
|
void | silentstep4_switch_direction (silentstep4_t *ctx) |
| Silent Step 4 switch direction function.
|
|
void | silentstep4_reset_pca (silentstep4_t *ctx) |
| Silent Step 4 reset device function.
|
|
void | silentstep4_set_rst_pin (silentstep4_t *ctx, uint8_t state) |
| Silent Step 4 set rst pin function.
|
|
uint8_t | silentstep4_get_int_pin (silentstep4_t *ctx) |
| Silent Step 4 get int pin function.
|
|
void | silentstep4_set_step_pin (silentstep4_t *ctx, uint8_t state) |
| Silent Step 4 set step pin function.
|
|
err_t | silentstep4_set_toff (silentstep4_t *ctx, uint8_t toff) |
| Silent Step 4 set toff function.
|
|
err_t | silentstep4_set_step_res (silentstep4_t *ctx, uint8_t mres) |
| Silent Step 4 set step res function.
|
|
err_t | silentstep4_set_run_current (silentstep4_t *ctx, uint8_t irun) |
| Silent Step 4 set run current function.
|
|
void | silentstep4_drive_motor (silentstep4_t *ctx, uint32_t steps, uint8_t speed) |
| Silent Step 4 driver motor function.
|
|
This file contains API for Silent Step 4 Click Driver.