hbridge 2.1.0.0
hbridge_t Struct Reference

H-Bridge Click context object. More...

#include <hbridge.h>

Data Fields

digital_out_t in2a
 
digital_out_t in2b
 
digital_out_t in1b
 
digital_out_t in1a
 
uint8_t step_mode
 
uint8_t direction
 

Detailed Description

H-Bridge Click context object.

Context object definition of H-Bridge Click driver.

Field Documentation

◆ direction

uint8_t direction

Direction setting (0-cw, 1-ccw).

◆ in1a

digital_out_t in1a

IN1A pin.

◆ in1b

digital_out_t in1b

IN1B pin.

◆ in2a

digital_out_t in2a

IN2A pin.

◆ in2b

digital_out_t in2b

IN2B pin.

◆ step_mode

uint8_t step_mode

Step mode setting (0-full step, 1-half step).


The documentation for this struct was generated from the following file: