stepper21 2.1.0.0
stepper21_cfg_t Struct Reference

Stepper 21 Click configuration object. More...

#include <stepper21.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t dir
 
pin_name_t rst
 
pin_name_t step
 
pin_name_t int_pin
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

Stepper 21 Click configuration object.

Configuration object definition of Stepper 21 Click driver.

Field Documentation

◆ dir

pin_name_t dir

Direction control pin.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ int_pin

pin_name_t int_pin

PCA9538A interrupt pin.

◆ rst

pin_name_t rst

Electric angle reset and PCA9538A reset pin.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ step

pin_name_t step

Step signal pin.


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