stspin220 2.1.0.0
STSPIN220 Settings

Settings of STSPIN220 Click driver. More...

Macros

#define STSPIN220_DIR_CW   0
 STSPIN220 direction setting.
 
#define STSPIN220_DIR_CCW   1
 
#define STSPIN220_PIN_LOW_LEVEL   0
 STSPIN220 pin logic level setting.
 
#define STSPIN220_PIN_HIGH_LEVEL   1
 
#define STSPIN220_SPEED_VERY_SLOW   0
 STSPIN220 device speed settings.
 
#define STSPIN220_SPEED_SLOW   1
 
#define STSPIN220_SPEED_MEDIUM   2
 
#define STSPIN220_SPEED_FAST   3
 
#define STSPIN220_SPEED_VERY_FAST   4
 

Detailed Description

Settings of STSPIN220 Click driver.

Macro Definition Documentation

◆ STSPIN220_DIR_CCW

#define STSPIN220_DIR_CCW   1

◆ STSPIN220_DIR_CW

#define STSPIN220_DIR_CW   0

STSPIN220 direction setting.

Specified setting for direction of STSPIN220 Click driver.

◆ STSPIN220_PIN_HIGH_LEVEL

#define STSPIN220_PIN_HIGH_LEVEL   1

◆ STSPIN220_PIN_LOW_LEVEL

#define STSPIN220_PIN_LOW_LEVEL   0

STSPIN220 pin logic level setting.

Specified setting for pin logic level of STSPIN220 Click driver.

◆ STSPIN220_SPEED_FAST

#define STSPIN220_SPEED_FAST   3

◆ STSPIN220_SPEED_MEDIUM

#define STSPIN220_SPEED_MEDIUM   2

◆ STSPIN220_SPEED_SLOW

#define STSPIN220_SPEED_SLOW   1

◆ STSPIN220_SPEED_VERY_FAST

#define STSPIN220_SPEED_VERY_FAST   4

◆ STSPIN220_SPEED_VERY_SLOW

#define STSPIN220_SPEED_VERY_SLOW   0

STSPIN220 device speed settings.

Specified setting for rotation speed.