hbridge16 2.1.0.0
H-Bridge 16 Registers Settings

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

Macros

#define HBRIDGE16_NONE_PIN   0x00
 H-Bridge 16 pin mask.
 
#define HBRIDGE16_IN1_PIN   0x01
 
#define HBRIDGE16_IN2_PIN   0x02
 
#define HBRIDGE16_IN3_PIN   0x04
 
#define HBRIDGE16_IN4_PIN   0x08
 
#define HBRIDGE16_DECAY_PIN   0x10
 
#define HBRIDGE16_MD_PIN   0x20
 
#define HBRIDGE16_OCPM_PIN   0x40
 
#define HBRIDGE16_FLT_PIN   0x80
 
#define HBRIDGE16_ALL_OUTPUT_PIN   0x7F
 
#define HBRIDGE16_ALL_PIN   0xFF
 
#define HBRIDGE16_DRIVE_MOTOR_REVERSE   0x00
 H-Bridge 16 motor states setting.
 
#define HBRIDGE16_DRIVE_MOTOR_FORWARD   0x01
 
#define HBRIDGE16_DRIVE_MOTOR_FREEWHEEL   0x02
 
#define HBRIDGE16_DRIVE_MOTOR_BRAKE   0x03
 
#define HBRIDGE16_PWM_MODE   0x01
 H-Bridge 16 mode setting.
 
#define HBRIDGE16_PH_EN_MODE   0x00
 
#define HBRIDGE16_SLEEP_MODE_OFF   0x01
 H-Bridge 16 sleep mode setting.
 
#define HBRIDGE16_SLEEP_MODE_ON   0x00
 
#define HBRIDGE16_DEVICE_ADDRESS_A1A0_00   0x70
 H-Bridge 16 device address setting.
 
#define HBRIDGE16_DEVICE_ADDRESS_A1A0_01   0x71
 
#define HBRIDGE16_DEVICE_ADDRESS_A1A0_10   0x72
 
#define HBRIDGE16_DEVICE_ADDRESS_A1A0_11   0x73
 

Detailed Description

Settings for registers of H-Bridge 16 Click driver.

Macro Definition Documentation

◆ HBRIDGE16_ALL_OUTPUT_PIN

#define HBRIDGE16_ALL_OUTPUT_PIN   0x7F

◆ HBRIDGE16_ALL_PIN

#define HBRIDGE16_ALL_PIN   0xFF

◆ HBRIDGE16_DECAY_PIN

#define HBRIDGE16_DECAY_PIN   0x10

◆ HBRIDGE16_DEVICE_ADDRESS_A1A0_00

#define HBRIDGE16_DEVICE_ADDRESS_A1A0_00   0x70

H-Bridge 16 device address setting.

Specified setting for device slave address selection of H-Bridge 16 Click driver.

◆ HBRIDGE16_DEVICE_ADDRESS_A1A0_01

#define HBRIDGE16_DEVICE_ADDRESS_A1A0_01   0x71

◆ HBRIDGE16_DEVICE_ADDRESS_A1A0_10

#define HBRIDGE16_DEVICE_ADDRESS_A1A0_10   0x72

◆ HBRIDGE16_DEVICE_ADDRESS_A1A0_11

#define HBRIDGE16_DEVICE_ADDRESS_A1A0_11   0x73

◆ HBRIDGE16_DRIVE_MOTOR_BRAKE

#define HBRIDGE16_DRIVE_MOTOR_BRAKE   0x03

◆ HBRIDGE16_DRIVE_MOTOR_FORWARD

#define HBRIDGE16_DRIVE_MOTOR_FORWARD   0x01

◆ HBRIDGE16_DRIVE_MOTOR_FREEWHEEL

#define HBRIDGE16_DRIVE_MOTOR_FREEWHEEL   0x02

◆ HBRIDGE16_DRIVE_MOTOR_REVERSE

#define HBRIDGE16_DRIVE_MOTOR_REVERSE   0x00

H-Bridge 16 motor states setting.

Specified setting for motor states of H-Bridge 15 Click driver.

◆ HBRIDGE16_FLT_PIN

#define HBRIDGE16_FLT_PIN   0x80

◆ HBRIDGE16_IN1_PIN

#define HBRIDGE16_IN1_PIN   0x01

◆ HBRIDGE16_IN2_PIN

#define HBRIDGE16_IN2_PIN   0x02

◆ HBRIDGE16_IN3_PIN

#define HBRIDGE16_IN3_PIN   0x04

◆ HBRIDGE16_IN4_PIN

#define HBRIDGE16_IN4_PIN   0x08

◆ HBRIDGE16_MD_PIN

#define HBRIDGE16_MD_PIN   0x20

◆ HBRIDGE16_NONE_PIN

#define HBRIDGE16_NONE_PIN   0x00

H-Bridge 16 pin mask.

Specified pin mask of H-Bridge 16 Click driver.

◆ HBRIDGE16_OCPM_PIN

#define HBRIDGE16_OCPM_PIN   0x40

◆ HBRIDGE16_PH_EN_MODE

#define HBRIDGE16_PH_EN_MODE   0x00

◆ HBRIDGE16_PWM_MODE

#define HBRIDGE16_PWM_MODE   0x01

H-Bridge 16 mode setting.

Specified setting for mode of H-Bridge 15 Click driver.

◆ HBRIDGE16_SLEEP_MODE_OFF

#define HBRIDGE16_SLEEP_MODE_OFF   0x01

H-Bridge 16 sleep mode setting.

Specified setting for sleep mode of H-Bridge 15 Click driver.

◆ HBRIDGE16_SLEEP_MODE_ON

#define HBRIDGE16_SLEEP_MODE_ON   0x00