stepper8 2.1.0.0
stepper8_s Struct Reference

Stepper 8 Click context object. More...

#include <stepper8.h>

Data Fields

digital_out_t md0
 
digital_out_t md1
 
digital_out_t md2
 
digital_out_t md3
 
digital_in_t err
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
uint8_t dir
 

Detailed Description

Stepper 8 Click context object.

Context object definition of Stepper 8 Click driver.

Field Documentation

◆ dir

uint8_t dir

Direction mode.

◆ err

digital_in_t err

ERR pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ md0

digital_out_t md0

MODE0/UP-DW pin.

◆ md1

digital_out_t md1

MODE1/SET_EN/LATCH pin.

◆ md2

digital_out_t md2

MODE2/CLK pin.

◆ md3

digital_out_t md3

MODE3/CW-CCW pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.


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