stepper14 2.1.0.0
stepper14_t Struct Reference

Stepper 14 Click context object. More...

#include <stepper14.h>

Data Fields

digital_out_t en
 
digital_out_t rst
 
digital_in_t flt
 
i2c_master_t i2c
 
uint8_t slave_address
 
uint8_t pin_mode
 
uint8_t step_mode
 
uint8_t direction
 

Detailed Description

Stepper 14 Click context object.

Context object definition of Stepper 14 Click driver.

Field Documentation

◆ direction

uint8_t direction

Direction setting (0 - cw, 1 - ccw).

◆ en

digital_out_t en

Enable driver pin.

◆ flt

digital_in_t flt

Fault pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ pin_mode

uint8_t pin_mode

Pin interface mode setting (0 - 4-pin, 1 - 2-pin).

◆ rst

digital_out_t rst

PCA9538A reset pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ step_mode

uint8_t step_mode

Step mode setting (0 - full step, 1 - half step).


The documentation for this struct was generated from the following file: