hbridge14 2.1.0.0
|
Settings for registers of H-Bridge 14 Click driver. More...
Settings for registers of H-Bridge 14 Click driver.
#define HBRIDGE14_ALL_PIN 0x07 |
#define HBRIDGE14_CLR_FLT 0x80 |
H-Bridge 14 IC3 Control Register setting.
Specified setting for IC3 Control Register selection of H-Bridge 14 Click driver.
#define HBRIDGE14_DEVICE_ADDRESS_A1A0_00 0x70 |
H-Bridge 14 device address setting.
Specified setting for device slave address selection of H-Bridge 14 Click driver.
#define HBRIDGE14_DEVICE_ADDRESS_A1A0_01 0x71 |
#define HBRIDGE14_DEVICE_ADDRESS_A1A0_10 0x72 |
#define HBRIDGE14_DEVICE_ADDRESS_A1A0_11 0x73 |
#define HBRIDGE14_DIS_CPUV 0x10 |
#define HBRIDGE14_DIS_ITRIP 0x00 |
#define HBRIDGE14_DIS_ITRIP_OUT1 0x01 |
#define HBRIDGE14_DIS_ITRIP_OUT1_OUT2 0x03 |
#define HBRIDGE14_DIS_ITRIP_OUT2 0x02 |
#define HBRIDGE14_DIS_OFF 0x00 |
#define HBRIDGE14_DIS_ON 0x01 |
H-Bridge 14 DRVOFF pin setting.
Specified setting for DRVOFF pin selection of H-Bridge 14 Click driver.
#define HBRIDGE14_DIS_PIN 0x04 |
#define HBRIDGE14_DRIVE_MOTOR_BRAKE 0x02 |
#define HBRIDGE14_DRIVE_MOTOR_CCW 0x01 |
#define HBRIDGE14_DRIVE_MOTOR_COASTING 0x03 |
#define HBRIDGE14_DRIVE_MOTOR_CW 0x00 |
H-Bridge 14 motor states setting.
Specified setting for motor state selection of H-Bridge 14 Click driver.
#define HBRIDGE14_EN_IN1 0x02 |
#define HBRIDGE14_EN_OLA 0x10 |
#define HBRIDGE14_EN_OLP 0x40 |
H-Bridge 14 IC4 Control Register setting.
Specified setting for IC4 Control Register selection of H-Bridge 14 Click driver.
#define HBRIDGE14_FLT_PIN 0x02 |
#define HBRIDGE14_ITRIP_LVL_4_A 0x00 |
#define HBRIDGE14_ITRIP_LVL_5_4_A 0x04 |
#define HBRIDGE14_ITRIP_LVL_6_5_A 0x08 |
#define HBRIDGE14_ITRIP_LVL_7_A 0x0C |
#define HBRIDGE14_ITRIP_REP 0x80 |
H-Bridge 14 IC2 Control Register setting.
Specified setting for IC2 Control Register selection of H-Bridge 14 Click driver.
#define HBRIDGE14_LOCK_REG 0x30 |
#define HBRIDGE14_MODE_DISABLED 0x03 |
#define HBRIDGE14_MODE_INDEPENDENT 0x02 |
#define HBRIDGE14_MODE_PH_EN 0x00 |
#define HBRIDGE14_MODE_PWM 0x01 |
#define HBRIDGE14_NONE_PIN 0x00 |
H-Bridge 14 pin mask setting.
Specified setting for pin mask selection of H-Bridge 14 Click driver.
#define HBRIDGE14_OCP_MODE_LATCHED 0x00 |
#define HBRIDGE14_OCP_MODE_NOT_REPORT 0x03 |
#define HBRIDGE14_OCP_MODE_REPORT 0x02 |
#define HBRIDGE14_OCP_MODE_RETRING 0x01 |
#define HBRIDGE14_OCP_TRETRY_1_MS 0x04 |
#define HBRIDGE14_OCP_TRETRY_2_MS 0x08 |
#define HBRIDGE14_OCP_TRETRY_4_MS 0x0C |
#define HBRIDGE14_OCP_TRETRY_500_NS 0x00 |
#define HBRIDGE14_OLP_DLY_1_2_MS 0x20 |
#define HBRIDGE14_OLP_DLY_300_US 0x00 |
#define HBRIDGE14_OTW_REP 0x20 |
#define HBRIDGE14_OUT1_DIS 0x08 |
#define HBRIDGE14_OUT2_DIS 0x04 |
#define HBRIDGE14_PH_IN2 0x01 |
#define HBRIDGE14_PIN_STATE_HIGH 0x01 |
H-Bridge 14 pin setting.
Specified setting for pin selection of H-Bridge 14 Click driver.
#define HBRIDGE14_PIN_STATE_LOW 0x00 |
#define HBRIDGE14_S_SR_10_8V_US 0x10 |
#define HBRIDGE14_S_SR_13_V_US 0x0C |
#define HBRIDGE14_S_SR_18_3V_US 0x08 |
#define HBRIDGE14_S_SR_2_6V_US 0x1C |
#define HBRIDGE14_S_SR_34_V_US 0x04 |
#define HBRIDGE14_S_SR_53_2V_US 0x00 |
#define HBRIDGE14_S_SR_5_3V_US 0x18 |
#define HBRIDGE14_S_SR_7_9V_US 0x14 |
#define HBRIDGE14_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define HBRIDGE14_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define HBRIDGE14_SLEEP_OFF 0x00 |
#define HBRIDGE14_SLEEP_ON 0x01 |
H-Bridge 14 SLEEP pin setting.
Specified setting for SLEEP pin selection of H-Bridge 14 Click driver.
#define HBRIDGE14_SLP_PIN 0x01 |
#define HBRIDGE14_SPI_IN_DIS 0x00 |
#define HBRIDGE14_SPI_IN_EN 0x20 |
#define HBRIDGE14_TOF_20_US 0x00 |
#define HBRIDGE14_TOF_40_US 0x40 |
#define HBRIDGE14_TOF_60_US 0x80 |
#define HBRIDGE14_TOF_80_US 0xC0 |
H-Bridge 14 IC1 Control Register setting.
Specified setting for IC1 Control Register selection of H-Bridge 14 Click driver.
#define HBRIDGE14_TSD_MODE_AUTO 0x40 |
#define HBRIDGE14_UNLOCK_REG 0x40 |