stepper19 2.1.0.0
stepper19_t Struct Reference

Stepper 19 Click context object. More...

#include <stepper19.h>

Data Fields

digital_out_t en
 
digital_out_t dir
 
digital_out_t stp
 
digital_in_t flt
 
i2c_master_t i2c
 
uint8_t slave_address
 
float step_delay
 
float microstep_mode
 
uint8_t step_dir_mode
 

Detailed Description

Stepper 19 Click context object.

Context object definition of Stepper 19 Click driver.

Field Documentation

◆ dir

digital_out_t dir

Direction control pin.

◆ en

digital_out_t en

Device enable pin.

◆ flt

digital_in_t flt

Fault condition pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ microstep_mode

float microstep_mode

Microstepping mode setting.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ step_delay

float step_delay

Step delay.

◆ step_dir_mode

uint8_t step_dir_mode

Step and direction control mode.

◆ stp

digital_out_t stp

Step signal pin.


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