stspin820 2.1.0.0
STSPIN820 Settings

Settings of STSPIN820 Click driver. More...

Macros

#define STSPIN820_DIR_CW   0
 STSPIN820 direction setting.
 
#define STSPIN820_DIR_CCW   1
 
#define STSPIN820_PIN_LOW_LEVEL   0
 STSPIN820 pin logic level setting.
 
#define STSPIN820_PIN_HIGH_LEVEL   1
 
#define STSPIN820_SPEED_VERY_SLOW   0
 STSPIN820 device speed settings.
 
#define STSPIN820_SPEED_SLOW   1
 
#define STSPIN820_SPEED_MEDIUM   2
 
#define STSPIN820_SPEED_FAST   3
 
#define STSPIN820_SPEED_VERY_FAST   4
 

Detailed Description

Settings of STSPIN820 Click driver.

Macro Definition Documentation

◆ STSPIN820_DIR_CCW

#define STSPIN820_DIR_CCW   1

◆ STSPIN820_DIR_CW

#define STSPIN820_DIR_CW   0

STSPIN820 direction setting.

Specified setting for direction of STSPIN820 Click driver.

◆ STSPIN820_PIN_HIGH_LEVEL

#define STSPIN820_PIN_HIGH_LEVEL   1

◆ STSPIN820_PIN_LOW_LEVEL

#define STSPIN820_PIN_LOW_LEVEL   0

STSPIN820 pin logic level setting.

Specified setting for pin logic level of STSPIN820 Click driver.

◆ STSPIN820_SPEED_FAST

#define STSPIN820_SPEED_FAST   3

◆ STSPIN820_SPEED_MEDIUM

#define STSPIN820_SPEED_MEDIUM   2

◆ STSPIN820_SPEED_SLOW

#define STSPIN820_SPEED_SLOW   1

◆ STSPIN820_SPEED_VERY_FAST

#define STSPIN820_SPEED_VERY_FAST   4

◆ STSPIN820_SPEED_VERY_SLOW

#define STSPIN820_SPEED_VERY_SLOW   0

STSPIN820 device speed settings.

Specified setting for rotation speed.