hbridgedriver2 2.0.0.0
hbridgedriver2_t Struct Reference

H-Bridge Driver 2 Click context object. More...

#include <hbridgedriver2.h>

Data Fields

digital_out_t en
 
spi_master_t spi
 
pin_name_t chip_select
 
pwm_t pwm
 
uint32_t pwm_freq
 

Detailed Description

H-Bridge Driver 2 Click context object.

Context object definition of H-Bridge Driver 2 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ en

digital_out_t en

Enable pin.

◆ pwm

pwm_t pwm

PWM driver object.

◆ pwm_freq

uint32_t pwm_freq

PWM frequency value.

◆ spi

spi_master_t spi

SPI driver object.


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