multisteppertb62269 2.0.0.0
|
This file contains API for Multi Stepper TB62269 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 | multisteppertb62269_t |
Multi Stepper TB62269 Click context object. More... | |
struct | multisteppertb62269_cfg_t |
Multi Stepper TB62269 Click configuration object. More... | |
Enumerations | |
enum | multisteppertb62269_return_value_t { MULTISTEPPERTB62269_OK = 0 , MULTISTEPPERTB62269_ERROR = -1 } |
Multi Stepper TB62269 Click return value data. More... | |
Functions | |
void | multisteppertb62269_cfg_setup (multisteppertb62269_cfg_t *cfg) |
Multi Stepper TB62269 configuration object setup function. | |
err_t | multisteppertb62269_init (multisteppertb62269_t *ctx, multisteppertb62269_cfg_t *cfg) |
Multi Stepper TB62269 initialization function. | |
err_t | multisteppertb62269_default_cfg (multisteppertb62269_t *ctx) |
Multi Stepper TB62269 default configuration function. | |
err_t | multisteppertb62269_write_register (multisteppertb62269_t *ctx, uint8_t reg, uint8_t data_in) |
Multi Stepper TB62269 write register function. | |
err_t | multisteppertb62269_read_register (multisteppertb62269_t *ctx, uint8_t reg, uint8_t *data_out) |
Multi Stepper TB62269 read register function. | |
err_t | multisteppertb62269_get_step_mode (multisteppertb62269_t *ctx, uint8_t *mode) |
Multi Stepper TB62269 get step mode function. | |
err_t | multisteppertb62269_set_step_mode (multisteppertb62269_t *ctx, uint8_t mode) |
Multi Stepper TB62269 set step mode function. | |
void | multisteppertb62269_drive_motor (multisteppertb62269_t *ctx, uint32_t steps, uint8_t speed) |
Multi Stepper TB62269 driver motor function. | |
void | multisteppertb62269_enable_device (multisteppertb62269_t *ctx) |
Multi Stepper TB62269 enable device function. | |
void | multisteppertb62269_disable_device (multisteppertb62269_t *ctx) |
Multi Stepper TB62269 disable device function. | |
void | multisteppertb62269_set_direction (multisteppertb62269_t *ctx, uint8_t dir) |
Multi Stepper TB62269 set direction function. | |
void | multisteppertb62269_switch_direction (multisteppertb62269_t *ctx) |
Multi Stepper TB62269 switch direction function. | |
void | multisteppertb62269_reset_device (multisteppertb62269_t *ctx) |
Multi Stepper TB62269 reset device function. | |
uint8_t | multisteppertb62269_get_int_pin (multisteppertb62269_t *ctx) |
Multi Stepper TB62269 get int pin function. | |
void | multisteppertb62269_set_clk_pin (multisteppertb62269_t *ctx, uint8_t state) |
Multi Stepper TB62269 set clk pin function. | |
This file contains API for Multi Stepper TB62269 Click Driver.