hbridge6 2.0.0.0
H-Bridge 6 Registers Settings

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

Macros

#define HBRIDGE6_REG_IN_PORT   0x00
 H-Bridge 6 description setting.
 
#define HBRIDGE6_REG_OUT_PORT   0x01
 
#define HBRIDGE6_REG_POL_INV   0x02
 
#define HBRIDGE6_REG_CONFIG   0x03
 
#define HBRIDGE6_PIN_STATE_LOW   0x00
 H-Bridge 6 Pin states.
 
#define HBRIDGE6_PIN_STATE_HIGH   0x01
 
#define HBRIDGE6_IN_PORT_MULTI_SENSE_LOW   0xFB
 
#define HBRIDGE6_IN_PORT_MULTI_SENSE_HIGH   0x04
 
#define HBRIDGE6_IN_PORT_IN_LOW   0xFE
 
#define HBRIDGE6_IN_PORT_IN_HIGH   0x01
 
#define HBRIDGE6_MS_EN_LOW   0xFD
 
#define HBRIDGE6_MS_EN_HIGH   0x02
 
#define HBRIDGE6_DIAGNOSTIC_DISABLE   0x00
 
#define HBRIDGE6_DIAGNOSTIC_ENABLE   0x01
 
#define HBRIDGE6_DEFAULT_CFG   0xE0
 
#define HBRIDGE6_IN_PORT_SEL_BIT_MASK   0x01
 
#define HBRIDGE6_IN_PORT_SEL_0   0x00
 
#define HBRIDGE6_IN_PORT_SEL_1   0x01
 
#define HBRIDGE6_NUMBER_OF_PORTS   0x07
 
#define HBRIDGE6_DIRECTION_BRAKE   0x00
 H-Bridge 6 Direction.
 
#define HBRIDGE6_DIRECTION_CLOCKWISE   0x01
 
#define HBRIDGE6_DIRECTION_COUNTERCLOCKWISE   0x02
 
#define HBRIDGE6_I2C_SLAVE_ADR_0   0x70
 H-Bridge 6 device address setting.
 
#define HBRIDGE6_I2C_SLAVE_ADR_1   0x71
 
#define HBRIDGE6_I2C_SLAVE_ADR_2   0x72
 
#define HBRIDGE6_I2C_SLAVE_ADR_3   0x73
 
#define HBRIDGE6_DEF_FREQ   5000
 H-Bridge 6 default PWM frequency.
 

Detailed Description

Settings for registers of H-Bridge 6 Click driver.

Macro Definition Documentation

◆ HBRIDGE6_DEF_FREQ

#define HBRIDGE6_DEF_FREQ   5000

H-Bridge 6 default PWM frequency.

Specified setting for setting default PWM frequency of H-Bridge 6 Click driver.

◆ HBRIDGE6_DEFAULT_CFG

#define HBRIDGE6_DEFAULT_CFG   0xE0

◆ HBRIDGE6_DIAGNOSTIC_DISABLE

#define HBRIDGE6_DIAGNOSTIC_DISABLE   0x00

◆ HBRIDGE6_DIAGNOSTIC_ENABLE

#define HBRIDGE6_DIAGNOSTIC_ENABLE   0x01

◆ HBRIDGE6_DIRECTION_BRAKE

#define HBRIDGE6_DIRECTION_BRAKE   0x00

H-Bridge 6 Direction.

Specified direction settings of H-Bridge 6 Click driver.

◆ HBRIDGE6_DIRECTION_CLOCKWISE

#define HBRIDGE6_DIRECTION_CLOCKWISE   0x01

◆ HBRIDGE6_DIRECTION_COUNTERCLOCKWISE

#define HBRIDGE6_DIRECTION_COUNTERCLOCKWISE   0x02

◆ HBRIDGE6_I2C_SLAVE_ADR_0

#define HBRIDGE6_I2C_SLAVE_ADR_0   0x70

H-Bridge 6 device address setting.

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

◆ HBRIDGE6_I2C_SLAVE_ADR_1

#define HBRIDGE6_I2C_SLAVE_ADR_1   0x71

◆ HBRIDGE6_I2C_SLAVE_ADR_2

#define HBRIDGE6_I2C_SLAVE_ADR_2   0x72

◆ HBRIDGE6_I2C_SLAVE_ADR_3

#define HBRIDGE6_I2C_SLAVE_ADR_3   0x73

◆ HBRIDGE6_IN_PORT_IN_HIGH

#define HBRIDGE6_IN_PORT_IN_HIGH   0x01

◆ HBRIDGE6_IN_PORT_IN_LOW

#define HBRIDGE6_IN_PORT_IN_LOW   0xFE

◆ HBRIDGE6_IN_PORT_MULTI_SENSE_HIGH

#define HBRIDGE6_IN_PORT_MULTI_SENSE_HIGH   0x04

◆ HBRIDGE6_IN_PORT_MULTI_SENSE_LOW

#define HBRIDGE6_IN_PORT_MULTI_SENSE_LOW   0xFB

◆ HBRIDGE6_IN_PORT_SEL_0

#define HBRIDGE6_IN_PORT_SEL_0   0x00

◆ HBRIDGE6_IN_PORT_SEL_1

#define HBRIDGE6_IN_PORT_SEL_1   0x01

◆ HBRIDGE6_IN_PORT_SEL_BIT_MASK

#define HBRIDGE6_IN_PORT_SEL_BIT_MASK   0x01

◆ HBRIDGE6_MS_EN_HIGH

#define HBRIDGE6_MS_EN_HIGH   0x02

◆ HBRIDGE6_MS_EN_LOW

#define HBRIDGE6_MS_EN_LOW   0xFD

◆ HBRIDGE6_NUMBER_OF_PORTS

#define HBRIDGE6_NUMBER_OF_PORTS   0x07

◆ HBRIDGE6_PIN_STATE_HIGH

#define HBRIDGE6_PIN_STATE_HIGH   0x01

◆ HBRIDGE6_PIN_STATE_LOW

#define HBRIDGE6_PIN_STATE_LOW   0x00

H-Bridge 6 Pin states.

Specified pin states of H-Bridge 6 Click driver.

◆ HBRIDGE6_REG_CONFIG

#define HBRIDGE6_REG_CONFIG   0x03

◆ HBRIDGE6_REG_IN_PORT

#define HBRIDGE6_REG_IN_PORT   0x00

H-Bridge 6 description setting.

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

H-Bridge 6 Port expander commands.

Specified setting for port expander commands of H-Bridge 6 Click driver.

◆ HBRIDGE6_REG_OUT_PORT

#define HBRIDGE6_REG_OUT_PORT   0x01

◆ HBRIDGE6_REG_POL_INV

#define HBRIDGE6_REG_POL_INV   0x02