Settings for registers of H-Bridge 12 Click driver.
More...
Settings for registers of H-Bridge 12 Click driver.
◆ HBRIDGE12_AB_BRIDGE_SEL
#define HBRIDGE12_AB_BRIDGE_SEL 0x00 |
H-Bridge 12 bridge selection setting.
Specified setting for selection of bridge of H-Bridge 12 Click driver.
◆ HBRIDGE12_CD_BRIDGE_SEL
#define HBRIDGE12_CD_BRIDGE_SEL 0x01 |
◆ HBRIDGE12_CURRENT_SCALE_100_PER
#define HBRIDGE12_CURRENT_SCALE_100_PER 0x07 |
◆ HBRIDGE12_CURRENT_SCALE_20_PER
#define HBRIDGE12_CURRENT_SCALE_20_PER 0x00 |
H-Bridge 12 description setting.
Specified setting for description of H-Bridge 12 Click driver.
◆ HBRIDGE12_CURRENT_SCALE_38_PER
#define HBRIDGE12_CURRENT_SCALE_38_PER 0x04 |
◆ HBRIDGE12_CURRENT_SCALE_56_PER
#define HBRIDGE12_CURRENT_SCALE_56_PER 0x02 |
◆ HBRIDGE12_CURRENT_SCALE_71_PER
#define HBRIDGE12_CURRENT_SCALE_71_PER 0x06 |
◆ HBRIDGE12_CURRENT_SCALE_83_PER
#define HBRIDGE12_CURRENT_SCALE_83_PER 0x01 |
◆ HBRIDGE12_CURRENT_SCALE_92_PER
#define HBRIDGE12_CURRENT_SCALE_92_PER 0x05 |
◆ HBRIDGE12_CURRENT_SCALE_98_PER
#define HBRIDGE12_CURRENT_SCALE_98_PER 0x03 |
◆ HBRIDGE12_DISABLE_BRIDGE_OUTPUT
#define HBRIDGE12_DISABLE_BRIDGE_OUTPUT 0x00 |
◆ HBRIDGE12_ENABLE_BRIDGE_OUTPUT
#define HBRIDGE12_ENABLE_BRIDGE_OUTPUT 0x01 |
H-Bridge 12 bridge enable setting.
Specified setting for enabling bridge of H-Bridge 12 Click driver.
◆ HBRIDGE12_PHASE_OUT1_H_OUT2_L
#define HBRIDGE12_PHASE_OUT1_H_OUT2_L 0x01 |
H-Bridge 12 phase setting.
Specified setting for output phase of H-Bridge 12 Click driver.
◆ HBRIDGE12_PHASE_OUT1_L_OUT2_H
#define HBRIDGE12_PHASE_OUT1_L_OUT2_H 0x00 |
◆ HBRIDGE12_PIN_STATE_HIGH
#define HBRIDGE12_PIN_STATE_HIGH 0x01 |
◆ HBRIDGE12_PIN_STATE_LOW
#define HBRIDGE12_PIN_STATE_LOW 0x00 |
H-Bridge 12 pin setting.
Specified setting for pin state of H-Bridge 12 Click driver.
◆ HBRIDGE12_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with hbridge12_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ HBRIDGE12_SET_DATA_SAMPLE_MIDDLE