stepper18 2.0.0.0
stepper18_t Struct Reference

Stepper 18 Click context object. More...

#include <stepper18.h>

Data Fields

digital_out_t en
 
digital_out_t dir
 
digital_out_t slp
 
digital_out_t stp
 
digital_in_t flt
 
i2c_master_t i2c
 
uint8_t slave_address
 
uint16_t steps
 
float resolution
 

Detailed Description

Stepper 18 Click context object.

Context object definition of Stepper 18 Click driver.

Field Documentation

◆ dir

digital_out_t dir

Direction.

◆ en

digital_out_t en

Enable.

◆ flt

digital_in_t flt

Fault.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ resolution

float resolution

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ slp

digital_out_t slp

Sleep.

◆ steps

uint16_t steps

◆ stp

digital_out_t stp

Step.


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