hbridge15 2.1.0.0
H-Bridge 15 Registers Settings

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

Macros

#define HBRIDGE15_PIN_MASK_NONE   0x00
 H-Bridge 15 description setting.
 
#define HBRIDGE15_PIN_MASK_SLP   0x01
 
#define HBRIDGE15_PIN_MASK_FLT   0x02
 
#define HBRIDGE15_PIN_MASK_CONFIG   0x04
 
#define HBRIDGE15_PIN_MASK_M1   0x08
 
#define HBRIDGE15_PIN_MASK_M0   0x10
 
#define HBRIDGE15_PIN_MASK_DIR   0x20
 
#define HBRIDGE15_PIN_MASK_EN_B   0x40
 
#define HBRIDGE15_PIN_MASK_EN_A   0x80
 
#define HBRIDGE15_PIN_MASK_ALL   0xFF
 
#define HBRIDGE15_PIN_STATE_HIGH   0x01
 H-Bridge 15 pin state setting.
 
#define HBRIDGE15_PIN_STATE_LOW   0x00
 
#define HBRIDGE15_SLEEP_STATE_ON   0x01
 H-Bridge 15 sleep state setting.
 
#define HBRIDGE15_SLEEP_STATE_OFF   0x00
 
#define HBRIDGE15_DRIVE_MOTOR_REVERSE   0x00
 H-Bridge 15 motor states setting.
 
#define HBRIDGE15_DRIVE_MOTOR_FORWARD   0x01
 
#define HBRIDGE15_DRIVE_MOTOR_FREEWHEEL   0x02
 
#define HBRIDGE15_DRIVE_MOTOR_BRAKE   0x03
 
#define HBRIDGE15_DEVICE_ADDRESS_00   0x70
 H-Bridge 15 device address setting.
 
#define HBRIDGE15_DEVICE_ADDRESS_01   0x71
 
#define HBRIDGE15_DEVICE_ADDRESS_10   0x72
 
#define HBRIDGE15_DEVICE_ADDRESS_11   0x73
 

Detailed Description

Settings for registers of H-Bridge 15 Click driver.

Macro Definition Documentation

◆ HBRIDGE15_DEVICE_ADDRESS_00

#define HBRIDGE15_DEVICE_ADDRESS_00   0x70

H-Bridge 15 device address setting.

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

◆ HBRIDGE15_DEVICE_ADDRESS_01

#define HBRIDGE15_DEVICE_ADDRESS_01   0x71

◆ HBRIDGE15_DEVICE_ADDRESS_10

#define HBRIDGE15_DEVICE_ADDRESS_10   0x72

◆ HBRIDGE15_DEVICE_ADDRESS_11

#define HBRIDGE15_DEVICE_ADDRESS_11   0x73

◆ HBRIDGE15_DRIVE_MOTOR_BRAKE

#define HBRIDGE15_DRIVE_MOTOR_BRAKE   0x03

◆ HBRIDGE15_DRIVE_MOTOR_FORWARD

#define HBRIDGE15_DRIVE_MOTOR_FORWARD   0x01

◆ HBRIDGE15_DRIVE_MOTOR_FREEWHEEL

#define HBRIDGE15_DRIVE_MOTOR_FREEWHEEL   0x02

◆ HBRIDGE15_DRIVE_MOTOR_REVERSE

#define HBRIDGE15_DRIVE_MOTOR_REVERSE   0x00

H-Bridge 15 motor states setting.

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

◆ HBRIDGE15_PIN_MASK_ALL

#define HBRIDGE15_PIN_MASK_ALL   0xFF

◆ HBRIDGE15_PIN_MASK_CONFIG

#define HBRIDGE15_PIN_MASK_CONFIG   0x04

◆ HBRIDGE15_PIN_MASK_DIR

#define HBRIDGE15_PIN_MASK_DIR   0x20

◆ HBRIDGE15_PIN_MASK_EN_A

#define HBRIDGE15_PIN_MASK_EN_A   0x80

◆ HBRIDGE15_PIN_MASK_EN_B

#define HBRIDGE15_PIN_MASK_EN_B   0x40

◆ HBRIDGE15_PIN_MASK_FLT

#define HBRIDGE15_PIN_MASK_FLT   0x02

◆ HBRIDGE15_PIN_MASK_M0

#define HBRIDGE15_PIN_MASK_M0   0x10

◆ HBRIDGE15_PIN_MASK_M1

#define HBRIDGE15_PIN_MASK_M1   0x08

◆ HBRIDGE15_PIN_MASK_NONE

#define HBRIDGE15_PIN_MASK_NONE   0x00

H-Bridge 15 description setting.

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

◆ HBRIDGE15_PIN_MASK_SLP

#define HBRIDGE15_PIN_MASK_SLP   0x01

◆ HBRIDGE15_PIN_STATE_HIGH

#define HBRIDGE15_PIN_STATE_HIGH   0x01

H-Bridge 15 pin state setting.

Specified setting for pin state of H-Bridge 15 Click driver.

◆ HBRIDGE15_PIN_STATE_LOW

#define HBRIDGE15_PIN_STATE_LOW   0x00

◆ HBRIDGE15_SLEEP_STATE_OFF

#define HBRIDGE15_SLEEP_STATE_OFF   0x00

◆ HBRIDGE15_SLEEP_STATE_ON

#define HBRIDGE15_SLEEP_STATE_ON   0x01

H-Bridge 15 sleep state setting.

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