stepper8 2.1.0.0
stepper8_cfg_t Struct Reference

Stepper 8 Click configuration object. More...

#include <stepper8.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t md0
 
pin_name_t md1
 
pin_name_t md2
 
pin_name_t md3
 
pin_name_t err
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 

Detailed Description

Stepper 8 Click configuration object.

Configuration object definition of Stepper 8 Click driver.

Field Documentation

◆ err

pin_name_t err

ERR pin.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ md0

pin_name_t md0

MODE0/UP-DW pin.

◆ md1

pin_name_t md1

MODE1/SET_EN/LATCH pin.

◆ md2

pin_name_t md2

MODE2/CLK pin.

◆ md3

pin_name_t md3

MODE3/CW-CCW pin.

◆ miso

pin_name_t miso

Master input - slave output pin descriptor for SPI driver.

◆ mosi

pin_name_t mosi

Master output - slave input pin descriptor for SPI driver.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ spi_mode

spi_master_mode_t spi_mode

SPI master mode.

◆ spi_speed

uint32_t spi_speed

SPI serial speed.


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