hbridge6 2.0.0.0
hbridge6_cfg_t Struct Reference

H-Bridge 6 Click configuration object. More...

#include <hbridge6.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t ms
 
pin_name_t rst
 
pin_name_t pwm
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
uint32_t dev_pwm_freq
 
uint8_t in_out
 
uint8_t invert
 
uint8_t out_val
 

Detailed Description

H-Bridge 6 Click configuration object.

Configuration object definition of H-Bridge 6 Click driver.

Field Documentation

◆ dev_pwm_freq

uint32_t dev_pwm_freq

PWM frequency value.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ in_out

uint8_t in_out

◆ invert

uint8_t invert

◆ ms

pin_name_t ms

Current Sense and Diagnostic Feedback.

◆ out_val

uint8_t out_val

◆ pwm

pin_name_t pwm

Motor Speed Control.

◆ rst

pin_name_t rst

Reset.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.


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