dcmotor20 2.0.0.0
DC Motor 20 Settings

Settings of DC Motor 20 Click driver. More...

Macros

#define DCMOTOR20_CHANNEL_1   0x01
 DC Motor 20 channel setting.
 
#define DCMOTOR20_CHANNEL_2   0x02
 
#define DCMOTOR20_MODE_STOP   0x00
 DC Motor 20 mode setting.
 
#define DCMOTOR20_MODE_FORWARD   0x01
 
#define DCMOTOR20_MODE_REVERSE   0x02
 
#define DCMOTOR20_SPEED_MAX   100
 DC Motor 20 speed and time setting.
 
#define DCMOTOR20_SPEED_DEFAULT   10
 
#define DCMOTOR20_SPEED_MIN   1
 
#define DCMOTOR20_MS_TIME_STEP   10
 

Detailed Description

Settings of DC Motor 20 Click driver.

Macro Definition Documentation

◆ DCMOTOR20_CHANNEL_1

#define DCMOTOR20_CHANNEL_1   0x01

DC Motor 20 channel setting.

Specified setting for channel of DC Motor 20 Click driver.

◆ DCMOTOR20_CHANNEL_2

#define DCMOTOR20_CHANNEL_2   0x02

◆ DCMOTOR20_MODE_FORWARD

#define DCMOTOR20_MODE_FORWARD   0x01

◆ DCMOTOR20_MODE_REVERSE

#define DCMOTOR20_MODE_REVERSE   0x02

◆ DCMOTOR20_MODE_STOP

#define DCMOTOR20_MODE_STOP   0x00

DC Motor 20 mode setting.

Specified setting for mode of DC Motor 20 Click driver.

◆ DCMOTOR20_MS_TIME_STEP

#define DCMOTOR20_MS_TIME_STEP   10

◆ DCMOTOR20_SPEED_DEFAULT

#define DCMOTOR20_SPEED_DEFAULT   10

◆ DCMOTOR20_SPEED_MAX

#define DCMOTOR20_SPEED_MAX   100

DC Motor 20 speed and time setting.

Specified setting for speed and time of DC Motor 20 Click driver.

◆ DCMOTOR20_SPEED_MIN

#define DCMOTOR20_SPEED_MIN   1