silentstep2 2.1.0.0
silentstep2_gconf_t Struct Reference

Silent Step 2 Click global configuration object. More...

#include <silentstep2.h>

Data Fields

uint8_t i_scale_analog
 
uint8_t internal_rsense
 
uint8_t en_pwm_mode
 
uint8_t enc_commutation
 
uint8_t shaft
 
uint8_t diag0_error
 
uint8_t diag0_otpw
 
uint8_t diag0_stall
 
uint8_t diag1_stall
 
uint8_t diag1_index
 
uint8_t diag1_onstate
 
uint8_t diag1_steps_skipped
 
uint8_t diag0_int_pushpull
 
uint8_t diag1_pushpull
 
uint8_t small_hysteresis
 
uint8_t stop_enable
 
uint8_t direct_mode
 

Detailed Description

Silent Step 2 Click global configuration object.

Global configuration object definition of Silent Step 2 Click driver.

Field Documentation

◆ diag0_error

uint8_t diag0_error

Enable DIAG0 active on driver errors.

◆ diag0_int_pushpull

uint8_t diag0_int_pushpull

DIAG0 open - push pull.

◆ diag0_otpw

uint8_t diag0_otpw

Enable DIAG0 active on driver over temperature prewarning.

◆ diag0_stall

uint8_t diag0_stall

Enable DIAG0 active on motor stall.

◆ diag1_index

uint8_t diag1_index

Enable DIAG1 active on index position.

◆ diag1_onstate

uint8_t diag1_onstate

Enable DIAG1 active when chopper is on.

◆ diag1_pushpull

uint8_t diag1_pushpull

DIAG1 open - push pull.

◆ diag1_stall

uint8_t diag1_stall

Enable DIAG1 active on motor stall.

◆ diag1_steps_skipped

uint8_t diag1_steps_skipped

Enable output toggle.

◆ direct_mode

uint8_t direct_mode

Normal operation - Motor coil currents.

◆ en_pwm_mode

uint8_t en_pwm_mode

Enable stealthChop voltage PWM mode.

◆ enc_commutation

uint8_t enc_commutation

Enable commutation by full step encoder.

◆ i_scale_analog

uint8_t i_scale_analog

Use voltage supplied to AIN as current reference.

◆ internal_rsense

uint8_t internal_rsense

Enable internal sense resistors.

◆ shaft

uint8_t shaft

Inverse motor direction.

◆ small_hysteresis

uint8_t small_hysteresis

Hysteresis for step frequency comparison.

◆ stop_enable

uint8_t stop_enable

Normal operation - Emergency stop.


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