Settings of H-Bridge 10 Click driver.
More...
Settings of H-Bridge 10 Click driver.
◆ HBRIDGE10_ADC_VREF
#define HBRIDGE10_ADC_VREF 3.3 |
H-Bridge 10 ADC reading voltage reference setting.
Specified ADC reading voltage reference setting of H-Bridge 10 Click driver.
◆ HBRIDGE10_CHANNEL_OUT1
#define HBRIDGE10_CHANNEL_OUT1 1 |
H-Bridge 10 output setting.
Specified output setting of H-Bridge 10 Click driver.
◆ HBRIDGE10_CHANNEL_OUT2
#define HBRIDGE10_CHANNEL_OUT2 2 |
◆ HBRIDGE10_CHANNEL_OUT3
#define HBRIDGE10_CHANNEL_OUT3 3 |
◆ HBRIDGE10_IN_OPEN_LOAD_OFF
#define HBRIDGE10_IN_OPEN_LOAD_OFF 0x0004 |
◆ HBRIDGE10_IN_OUT_HS1_ON
#define HBRIDGE10_IN_OUT_HS1_ON 0x0800 |
◆ HBRIDGE10_IN_OUT_HS2_ON
#define HBRIDGE10_IN_OUT_HS2_ON 0x0080 |
◆ HBRIDGE10_IN_OUT_HS3_ON
#define HBRIDGE10_IN_OUT_HS3_ON 0x0008 |
◆ HBRIDGE10_IN_OUT_LS1_ON
#define HBRIDGE10_IN_OUT_LS1_ON 0x1000 |
◆ HBRIDGE10_IN_OUT_LS2_ON
#define HBRIDGE10_IN_OUT_LS2_ON 0x0100 |
◆ HBRIDGE10_IN_OUT_LS3_ON
#define HBRIDGE10_IN_OUT_LS3_ON 0x0010 |
◆ HBRIDGE10_IN_SHORT_SD_DELAY_12MS
#define HBRIDGE10_IN_SHORT_SD_DELAY_12MS 0x0002 |
◆ HBRIDGE10_IN_SHORT_SD_DELAY_1p5MS
#define HBRIDGE10_IN_SHORT_SD_DELAY_1p5MS 0x0000 |
◆ HBRIDGE10_IN_SOFT_ENABLE
#define HBRIDGE10_IN_SOFT_ENABLE 0x0001 |
◆ HBRIDGE10_IN_STATUS_RESET
#define HBRIDGE10_IN_STATUS_RESET 0x8000 |
H-Bridge 10 data input register setting.
Specified data input register setting of H-Bridge 10 Click driver.
◆ HBRIDGE10_OUT_HIGH
#define HBRIDGE10_OUT_HIGH 1 |
◆ HBRIDGE10_OUT_LOW
#define HBRIDGE10_OUT_LOW 2 |
◆ HBRIDGE10_OUT_MASK
#define HBRIDGE10_OUT_MASK 3u |
◆ HBRIDGE10_OUT_NORMAL_OPERATION
#define HBRIDGE10_OUT_NORMAL_OPERATION 0x0002 |
◆ HBRIDGE10_OUT_OFF
#define HBRIDGE10_OUT_OFF 0 |
◆ HBRIDGE10_OUT_OVER_TEMP_SD
#define HBRIDGE10_OUT_OVER_TEMP_SD 0xFFFF |
H-Bridge 10 data output register setting.
Specified data output register setting of H-Bridge 10 Click driver.
◆ HBRIDGE10_OUT_OVER_TEMP_WARNING
#define HBRIDGE10_OUT_OVER_TEMP_WARNING 0x8000 |
◆ HBRIDGE10_OUT_SHORT_CIRCUIT_DETECTED
#define HBRIDGE10_OUT_SHORT_CIRCUIT_DETECTED 0x0004 |
◆ HBRIDGE10_OUT_STATUS_HS1_ON
#define HBRIDGE10_OUT_STATUS_HS1_ON 0x0800 |
◆ HBRIDGE10_OUT_STATUS_HS2_ON
#define HBRIDGE10_OUT_STATUS_HS2_ON 0x0080 |
◆ HBRIDGE10_OUT_STATUS_HS3_ON
#define HBRIDGE10_OUT_STATUS_HS3_ON 0x0008 |
◆ HBRIDGE10_OUT_STATUS_LS1_ON
#define HBRIDGE10_OUT_STATUS_LS1_ON 0x1000 |
◆ HBRIDGE10_OUT_STATUS_LS2_ON
#define HBRIDGE10_OUT_STATUS_LS2_ON 0x0100 |
◆ HBRIDGE10_OUT_STATUS_LS3_ON
#define HBRIDGE10_OUT_STATUS_LS3_ON 0x0010 |
◆ HBRIDGE10_OUT_VS_UNDER_VOLTAGE
#define HBRIDGE10_OUT_VS_UNDER_VOLTAGE 0x0001 |
◆ HBRIDGE10_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 hbridge10_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ HBRIDGE10_SET_DATA_SAMPLE_MIDDLE