stepper16 2.0.0.0
stepper16_t Struct Reference

Stepper16 Click context object. More...

#include <stepper16.h>

Data Fields

digital_out_t dir
 
digital_out_t nxt
 
digital_out_t cs
 
digital_in_t err
 
spi_master_t spi
 
pin_name_t chip_select
 
uint8_t spierr
 
uint8_t uv
 
uint8_t eldef
 
uint8_t tsd
 
uint8_t tw
 
uint16_t steps
 
float resolution
 
uint8_t step_resolution
 

Detailed Description

Stepper16 Click context object.

Context object definition of Stepper16 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ cs

digital_out_t cs

Next step control.

◆ dir

digital_out_t dir

Direction.

◆ eldef

uint8_t eldef

Eletrical defect.

◆ err

digital_in_t err

Error interrupt.

◆ nxt

digital_out_t nxt

Next step control.

◆ resolution

float resolution

Description.

◆ spi

spi_master_t spi

SPI driver object.

◆ spierr

uint8_t spierr

SPI ERROR.

◆ step_resolution

uint8_t step_resolution

Description.

◆ steps

uint16_t steps

Motor steps.

◆ tsd

uint8_t tsd

Thermal shutdown.

◆ tw

uint8_t tw

Thermal warning.

◆ uv

uint8_t uv

Under voltage detection.


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