stepper21 2.1.0.0
stepper21_t Struct Reference

Stepper 21 Click context object. More...

#include <stepper21.h>

Data Fields

digital_out_t dir
 
digital_out_t rst
 
digital_out_t step
 
digital_in_t int_pin
 
i2c_master_t i2c
 
uint8_t slave_address
 

Detailed Description

Stepper 21 Click context object.

Context object definition of Stepper 21 Click driver.

Field Documentation

◆ dir

digital_out_t dir

Direction control pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

PCA9538A interrupt pin.

◆ rst

digital_out_t rst

Electric angle reset and PCA9538A reset pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ step

digital_out_t step

Step signal pin.


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