dcmotor13 2.0.0.0
DC Motor 13 Registers Settings

Settings for registers of DC Motor 13 Click driver. More...

Macros

#define DCMOTOR13_LO_PIN   0x01
 DC Motor 13 PCA9538A pin mask.
 
#define DCMOTOR13_AI2_PIN   0x02
 
#define DCMOTOR13_BI2_PIN   0x04
 
#define DCMOTOR13_TA1_PIN   0x08
 
#define DCMOTOR13_TA2_PIN   0x10
 
#define DCMOTOR13_TB1_PIN   0x20
 
#define DCMOTOR13_TB2_PIN   0x40
 
#define DCMOTOR13_DEFAULT_CONFIG   0x81
 DC Motor 13 PCA9538A pin direction config.
 
#define DCMOTOR13_PIN_LOW_LEVEL   0
 DC Motor 13 pin logic level setting.
 
#define DCMOTOR13_PIN_HIGH_LEVEL   1
 
#define DCMOTOR13_MODE_SHORT_BRAKE   0x00
 DC Motor 13 output mode setting.
 
#define DCMOTOR13_MODE_CCW   0x01
 
#define DCMOTOR13_MODE_CW   0x02
 
#define DCMOTOR13_TORQUE_0   0x00
 DC Motor 13 output torque setting.
 
#define DCMOTOR13_TORQUE_38   0x01
 
#define DCMOTOR13_TORQUE_71   0x02
 
#define DCMOTOR13_TORQUE_100   0x03
 
#define DCMOTOR13_DEVICE_ADDRESS_A1A0_00   0x70
 DC Motor 13 device address setting.
 
#define DCMOTOR13_DEVICE_ADDRESS_A1A0_01   0x71
 
#define DCMOTOR13_DEVICE_ADDRESS_A1A0_10   0x72
 
#define DCMOTOR13_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of DC Motor 13 Click driver.

Macro Definition Documentation

◆ DCMOTOR13_AI2_PIN

#define DCMOTOR13_AI2_PIN   0x02

◆ DCMOTOR13_BI2_PIN

#define DCMOTOR13_BI2_PIN   0x04

◆ DCMOTOR13_DEFAULT_CONFIG

#define DCMOTOR13_DEFAULT_CONFIG   0x81

DC Motor 13 PCA9538A pin direction config.

Specified PCA9538A pin direction config of DC Motor 13 Click driver.

◆ DCMOTOR13_DEVICE_ADDRESS_A1A0_00

#define DCMOTOR13_DEVICE_ADDRESS_A1A0_00   0x70

DC Motor 13 device address setting.

Specified setting for device slave address selection of DC Motor 13 Click driver.

◆ DCMOTOR13_DEVICE_ADDRESS_A1A0_01

#define DCMOTOR13_DEVICE_ADDRESS_A1A0_01   0x71

◆ DCMOTOR13_DEVICE_ADDRESS_A1A0_10

#define DCMOTOR13_DEVICE_ADDRESS_A1A0_10   0x72

◆ DCMOTOR13_DEVICE_ADDRESS_A1A0_11

#define DCMOTOR13_DEVICE_ADDRESS_A1A0_11   0x73

◆ DCMOTOR13_LO_PIN

#define DCMOTOR13_LO_PIN   0x01

DC Motor 13 PCA9538A pin mask.

Specified PCA9538A pin mask of DC Motor 13 Click driver.

◆ DCMOTOR13_MODE_CCW

#define DCMOTOR13_MODE_CCW   0x01

◆ DCMOTOR13_MODE_CW

#define DCMOTOR13_MODE_CW   0x02

◆ DCMOTOR13_MODE_SHORT_BRAKE

#define DCMOTOR13_MODE_SHORT_BRAKE   0x00

DC Motor 13 output mode setting.

Specified setting for output mode of DC Motor 13 Click driver.

◆ DCMOTOR13_PIN_HIGH_LEVEL

#define DCMOTOR13_PIN_HIGH_LEVEL   1

◆ DCMOTOR13_PIN_LOW_LEVEL

#define DCMOTOR13_PIN_LOW_LEVEL   0

DC Motor 13 pin logic level setting.

Specified setting for pin logic level of DC Motor 13 Click driver.

◆ DCMOTOR13_TA1_PIN

#define DCMOTOR13_TA1_PIN   0x08

◆ DCMOTOR13_TA2_PIN

#define DCMOTOR13_TA2_PIN   0x10

◆ DCMOTOR13_TB1_PIN

#define DCMOTOR13_TB1_PIN   0x20

◆ DCMOTOR13_TB2_PIN

#define DCMOTOR13_TB2_PIN   0x40

◆ DCMOTOR13_TORQUE_0

#define DCMOTOR13_TORQUE_0   0x00

DC Motor 13 output torque setting.

Specified setting for output torque of DC Motor 13 Click driver.

◆ DCMOTOR13_TORQUE_100

#define DCMOTOR13_TORQUE_100   0x03

◆ DCMOTOR13_TORQUE_38

#define DCMOTOR13_TORQUE_38   0x01

◆ DCMOTOR13_TORQUE_71

#define DCMOTOR13_TORQUE_71   0x02