silentstep3 2.1.0.0
silentstep3_t Struct Reference

Silent Step 3 Click context object. More...

#include <silentstep3.h>

Data Fields

digital_out_t en
 
digital_out_t step
 
digital_out_t dir
 
digital_in_t sg
 
spi_master_t spi
 
pin_name_t chip_select
 
uint32_t drvctrl
 
uint32_t chopconf
 
uint32_t smarten
 
uint32_t sgcsconf
 
uint32_t drvconf
 

Detailed Description

Silent Step 3 Click context object.

Context object definition of Silent Step 3 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ chopconf

uint32_t chopconf

CHOPCONF register settings.

◆ dir

digital_out_t dir

Direction control pin.

◆ drvconf

uint32_t drvconf

DRVCONF register settings.

◆ drvctrl

uint32_t drvctrl

DRVCTRL register settings.

◆ en

digital_out_t en

Power MOSFET enable pin (active low).

◆ sg

digital_in_t sg

Signals a motor stall (active high).

◆ sgcsconf

uint32_t sgcsconf

SGCSCONF register settings.

◆ smarten

uint32_t smarten

SMARTEN register settings.

◆ spi

spi_master_t spi

SPI driver object.

◆ step

digital_out_t step

Step signal pin.


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