multisteppertb67s209 2.0.0.0
|
This file contains API for Multi Stepper TB67S209 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | multisteppertb67s209_t |
Multi Stepper TB67S209 Click context object. More... | |
struct | multisteppertb67s209_cfg_t |
Multi Stepper TB67S209 Click configuration object. More... | |
Enumerations | |
enum | multisteppertb67s209_return_value_t { MULTISTEPPERTB67S209_OK = 0 , MULTISTEPPERTB67S209_ERROR = -1 } |
Multi Stepper TB67S209 Click return value data. More... | |
Functions | |
void | multisteppertb67s209_cfg_setup (multisteppertb67s209_cfg_t *cfg) |
Multi Stepper TB67S209 configuration object setup function. | |
err_t | multisteppertb67s209_init (multisteppertb67s209_t *ctx, multisteppertb67s209_cfg_t *cfg) |
Multi Stepper TB67S209 initialization function. | |
err_t | multisteppertb67s209_default_cfg (multisteppertb67s209_t *ctx) |
Multi Stepper TB67S209 default configuration function. | |
err_t | multisteppertb67s209_write_register (multisteppertb67s209_t *ctx, uint8_t reg, uint8_t data_in) |
Multi Stepper TB67S209 write register function. | |
err_t | multisteppertb67s209_read_register (multisteppertb67s209_t *ctx, uint8_t reg, uint8_t *data_out) |
Multi Stepper TB67S209 read register function. | |
err_t | multisteppertb67s209_get_step_mode (multisteppertb67s209_t *ctx, uint8_t *mode) |
Multi Stepper TB67S209 get step mode function. | |
err_t | multisteppertb67s209_set_step_mode (multisteppertb67s209_t *ctx, uint8_t mode) |
Multi Stepper TB67S209 set step mode function. | |
err_t | multisteppertb67s209_get_smd_mode (multisteppertb67s209_t *ctx, uint8_t *mode) |
Multi Stepper TB67S209 get smd mode function. | |
err_t | multisteppertb67s209_set_smd_mode (multisteppertb67s209_t *ctx, uint8_t mode) |
Multi Stepper TB67S209 set smd mode function. | |
void | multisteppertb67s209_drive_motor (multisteppertb67s209_t *ctx, uint32_t steps, uint8_t speed) |
Multi Stepper TB67S209 driver motor function. | |
void | multisteppertb67s209_enable_device (multisteppertb67s209_t *ctx) |
Multi Stepper TB67S209 enable device function. | |
void | multisteppertb67s209_disable_device (multisteppertb67s209_t *ctx) |
Multi Stepper TB67S209 disable device function. | |
void | multisteppertb67s209_set_direction (multisteppertb67s209_t *ctx, uint8_t dir) |
Multi Stepper TB67S209 set direction function. | |
void | multisteppertb67s209_switch_direction (multisteppertb67s209_t *ctx) |
Multi Stepper TB67S209 switch direction function. | |
void | multisteppertb67s209_reset_device (multisteppertb67s209_t *ctx) |
Multi Stepper TB67S209 reset device function. | |
uint8_t | multisteppertb67s209_get_int_pin (multisteppertb67s209_t *ctx) |
Multi Stepper TB67S209 get int pin function. | |
void | multisteppertb67s209_set_clk_pin (multisteppertb67s209_t *ctx, uint8_t state) |
Multi Stepper TB67S209 set clk pin function. | |
This file contains API for Multi Stepper TB67S209 Click Driver.