hbridge14 2.1.0.0
hbridge14_s Struct Reference

H-Bridge 14 Click context object. More...

#include <hbridge14.h>

Data Fields

digital_out_t in2
 
digital_out_t rst
 
digital_out_t in1
 
digital_in_t int_pin
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 

Detailed Description

H-Bridge 14 Click context object.

Context object definition of H-Bridge 14 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ in1

digital_out_t in1

Enable output 1 pin.

◆ in2

digital_out_t in2

Enable output 2 pin.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ rst

digital_out_t rst

Reset port expander pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.


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