hbridge9 2.0.0.0
hbridge9_cfg_t Struct Reference

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

#include <hbridge9.h>

Data Fields

pin_name_t miso
 
pin_name_t mosi
 
pin_name_t sck
 
pin_name_t cs
 
pin_name_t en_out
 
pin_name_t dout
 
uint32_t spi_speed
 
spi_master_mode_t spi_mode
 
spi_master_chip_select_polarity_t cs_polarity
 

Detailed Description

H-Bridge 9 Click configuration object.

Configuration object definition of H-Bridge 9 Click driver.

Field Documentation

◆ 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.

◆ dout

pin_name_t dout

Global fault flag.

◆ en_out

pin_name_t en_out

Failsafe logic 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.

◆ 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.


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