multisteppertb62261 2.0.0.0
|
This file contains API for Multi Stepper TB62261 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | multisteppertb62261_t |
Multi Stepper TB62261 Click context object. More... | |
struct | multisteppertb62261_cfg_t |
Multi Stepper TB62261 Click configuration object. More... | |
Enumerations | |
enum | multisteppertb62261_return_value_t { MULTISTEPPERTB62261_OK = 0 , MULTISTEPPERTB62261_ERROR = -1 } |
Multi Stepper TB62261 Click return value data. More... | |
Functions | |
void | multisteppertb62261_cfg_setup (multisteppertb62261_cfg_t *cfg) |
Multi Stepper TB62261 configuration object setup function. | |
err_t | multisteppertb62261_init (multisteppertb62261_t *ctx, multisteppertb62261_cfg_t *cfg) |
Multi Stepper TB62261 initialization function. | |
err_t | multisteppertb62261_default_cfg (multisteppertb62261_t *ctx) |
Multi Stepper TB62261 default configuration function. | |
err_t | multisteppertb62261_write_register (multisteppertb62261_t *ctx, uint8_t reg, uint8_t data_in) |
Multi Stepper TB62261 write register function. | |
err_t | multisteppertb62261_read_register (multisteppertb62261_t *ctx, uint8_t reg, uint8_t *data_out) |
Multi Stepper TB62261 read register function. | |
err_t | multisteppertb62261_drive_motor (multisteppertb62261_t *ctx, uint32_t steps, uint8_t speed) |
Multi Stepper TB62261 driver motor function. | |
void | multisteppertb62261_enable_device (multisteppertb62261_t *ctx) |
Multi Stepper TB62261 enable device function. | |
void | multisteppertb62261_disable_device (multisteppertb62261_t *ctx) |
Multi Stepper TB62261 disable device function. | |
void | multisteppertb62261_set_ina1_pin (multisteppertb62261_t *ctx, uint8_t state) |
Multi Stepper TB62261 set ina1 pin function. | |
void | multisteppertb62261_set_ina2_pin (multisteppertb62261_t *ctx, uint8_t state) |
Multi Stepper TB62261 set ina2 pin function. | |
void | multisteppertb62261_set_inb1_pin (multisteppertb62261_t *ctx, uint8_t state) |
Multi Stepper TB62261 set inb1 pin function. | |
void | multisteppertb62261_set_inb2_pin (multisteppertb62261_t *ctx, uint8_t state) |
Multi Stepper TB62261 set inb2 pin function. | |
void | multisteppertb62261_set_step_mode (multisteppertb62261_t *ctx, uint8_t mode) |
Multi Stepper TB62261 set step mode function. | |
void | multisteppertb62261_set_direction (multisteppertb62261_t *ctx, uint8_t dir) |
Multi Stepper TB62261 set direction function. | |
void | multisteppertb62261_switch_direction (multisteppertb62261_t *ctx) |
Multi Stepper TB62261 switch direction function. | |
This file contains API for Multi Stepper TB62261 Click Driver.