dcmotor22 2.0.0.0
dcmotor22_cfg_t Struct Reference

DC Motor 22 Click configuration object. More...

#include <dcmotor22.h>

Data Fields

pin_name_t rx_pin
 
pin_name_t tx_pin
 
pin_name_t scl
 
pin_name_t sda
 
pin_name_t a0
 
pin_name_t a1
 
pin_name_t en
 
pin_name_t int_pin
 
uint32_t baud_rate
 
bool uart_blocking
 
uart_data_bits_t data_bit
 
uart_parity_t parity_bit
 
uart_stop_bits_t stop_bit
 
uint32_t i2c_speed
 
uint8_t i2c_address
 

Detailed Description

DC Motor 22 Click configuration object.

Configuration object definition of DC Motor 22 Click driver.

Field Documentation

◆ a0

pin_name_t a0

Address selection pin 0.

◆ a1

pin_name_t a1

Address selection pin 1.

◆ baud_rate

uint32_t baud_rate

Clock speed.

◆ data_bit

uart_data_bits_t data_bit

Data bits.

◆ en

pin_name_t en

Enable pin (Active High).

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ int_pin

pin_name_t int_pin

Diagnostic interrupt pin (Active High).

◆ parity_bit

uart_parity_t parity_bit

Parity bit.

◆ rx_pin

pin_name_t rx_pin

RX pin.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ stop_bit

uart_stop_bits_t stop_bit

Stop bits.

◆ tx_pin

pin_name_t tx_pin

TX pin.

◆ uart_blocking

bool uart_blocking

Wait for interrupt or not.


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