stepper7 2.1.0.0
stepper7_t Struct Reference

Stepper 7 Click context object. More...

#include <stepper7.h>

Data Fields

digital_out_t rst
 
spi_master_t spi
 
pin_name_t chip_select
 
uint8_t step_mode
 
uint8_t direction
 

Detailed Description

Stepper 7 Click context object.

Context object definition of Stepper 7 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ direction

uint8_t direction

Direction setting (0 - cw, 1 - ccw).

◆ rst

digital_out_t rst

Reset pin (active low).

◆ spi

spi_master_t spi

SPI driver object.

◆ step_mode

uint8_t step_mode

Step mode setting (0 - full step, 1 - half step, 2 - 1/8th step).


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