hbridge3 2.0.0.0
Wr Ctrl Command Parameters

Macros

#define HBRIDGE3_CTRL_VIA_PWM_DIR   0x00
 
#define HBRIDGE3_CTRL_VIA_SPI   0x80
 
#define HBRIDGE3_SPI_ENA_OUT   0x40
 
#define HBRIDGE3_SPI_DIS_OUT   0x00
 
#define HBRIDGE3_SPI_DIR_1   0x00
 
#define HBRIDGE3_SPI_DIR_2   0x20
 
#define HBRIDGE3_SPI_PWM_0   0x00
 
#define HBRIDGE3_SPI_PWM_1   0x01
 

Detailed Description

Macro Definition Documentation

◆ HBRIDGE3_CTRL_VIA_PWM_DIR

#define HBRIDGE3_CTRL_VIA_PWM_DIR   0x00

◆ HBRIDGE3_CTRL_VIA_SPI

#define HBRIDGE3_CTRL_VIA_SPI   0x80

◆ HBRIDGE3_SPI_DIR_1

#define HBRIDGE3_SPI_DIR_1   0x00

◆ HBRIDGE3_SPI_DIR_2

#define HBRIDGE3_SPI_DIR_2   0x20

◆ HBRIDGE3_SPI_DIS_OUT

#define HBRIDGE3_SPI_DIS_OUT   0x00

◆ HBRIDGE3_SPI_ENA_OUT

#define HBRIDGE3_SPI_ENA_OUT   0x40

◆ HBRIDGE3_SPI_PWM_0

#define HBRIDGE3_SPI_PWM_0   0x00

◆ HBRIDGE3_SPI_PWM_1

#define HBRIDGE3_SPI_PWM_1   0x01