hbridge10 2.0.0.0
hbridge10_cfg_t Struct Reference

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

#include <hbridge10.h>

Data Fields

pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t an
 
pin_name_t en
 
pin_name_t flt
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 
analog_in_resolution_t resolution
 
float vref
 

Detailed Description

H-Bridge 10 Click configuration object.

Configuration object definition of H-Bridge 10 Click driver.

Field Documentation

◆ an

pin_name_t an

Analog pin descriptor.

◆ cs

pin_name_t cs

Chip select pin descriptor for SPI driver.

◆ cs_polarity

spi_master_chip_select_polarity_t cs_polarity

Chip select pin polarity.

◆ en

pin_name_t en

Enable device pin.

◆ flt

pin_name_t flt

Fault pin.

◆ miso

pin_name_t miso

Master input - slave output pin descriptor for SPI driver.

◆ mosi

pin_name_t mosi

Master output - slave input pin descriptor for SPI driver.

◆ resolution

analog_in_resolution_t resolution

ADC resolution.

◆ sck

pin_name_t sck

Clock pin descriptor for SPI driver.

◆ spi_mode

spi_master_mode_t spi_mode

SPI master mode.

◆ spi_speed

uint32_t spi_speed

SPI serial speed.

◆ vref

float vref

ADC reference voltage.


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