hbridge 2.1.0.0
H-Bridge Registers Settings

Settings for registers of H-Bridge Click driver. More...

Macros

#define HBRIDGE_DIR_CW   0
 H-Bridge direction setting.
 
#define HBRIDGE_DIR_CCW   1
 
#define HBRIDGE_PIN_LOW_LEVEL   0
 H-Bridge pin logic level setting.
 
#define HBRIDGE_PIN_HIGH_LEVEL   1
 
#define HBRIDGE_MODE_FULL_STEP   0
 H-Bridge step resolution setting.
 
#define HBRIDGE_MODE_HALF_STEP   1
 
#define HBRIDGE_SPEED_VERY_SLOW   0
 H-Bridge device speed settings.
 
#define HBRIDGE_SPEED_SLOW   1
 
#define HBRIDGE_SPEED_MEDIUM   2
 
#define HBRIDGE_SPEED_FAST   3
 
#define HBRIDGE_SPEED_VERY_FAST   4
 

Detailed Description

Settings for registers of H-Bridge Click driver.

Macro Definition Documentation

◆ HBRIDGE_DIR_CCW

#define HBRIDGE_DIR_CCW   1

◆ HBRIDGE_DIR_CW

#define HBRIDGE_DIR_CW   0

H-Bridge direction setting.

Specified setting for direction of H-Bridge Click driver.

◆ HBRIDGE_MODE_FULL_STEP

#define HBRIDGE_MODE_FULL_STEP   0

H-Bridge step resolution setting.

Specified setting for step resolution of H-Bridge Click driver.

◆ HBRIDGE_MODE_HALF_STEP

#define HBRIDGE_MODE_HALF_STEP   1

◆ HBRIDGE_PIN_HIGH_LEVEL

#define HBRIDGE_PIN_HIGH_LEVEL   1

◆ HBRIDGE_PIN_LOW_LEVEL

#define HBRIDGE_PIN_LOW_LEVEL   0

H-Bridge pin logic level setting.

Specified setting for pin logic level of H-Bridge Click driver.

◆ HBRIDGE_SPEED_FAST

#define HBRIDGE_SPEED_FAST   3

◆ HBRIDGE_SPEED_MEDIUM

#define HBRIDGE_SPEED_MEDIUM   2

◆ HBRIDGE_SPEED_SLOW

#define HBRIDGE_SPEED_SLOW   1

◆ HBRIDGE_SPEED_VERY_FAST

#define HBRIDGE_SPEED_VERY_FAST   4

◆ HBRIDGE_SPEED_VERY_SLOW

#define HBRIDGE_SPEED_VERY_SLOW   0

H-Bridge device speed settings.

Specified setting for rotation speed.