dcmotor23 2.1.0.0
dcmotor23_t Struct Reference

DC Motor 23 Click context object. More...

#include <dcmotor23.h>

Data Fields

digital_out_t en_a
 
digital_out_t slp
 
digital_out_t rst
 
digital_out_t en_b
 
digital_in_t int_pin
 
i2c_master_t i2c
 
uint8_t slave_address
 

Detailed Description

DC Motor 23 Click context object.

Context object definition of DC Motor 23 Click driver.

Field Documentation

◆ en_a

digital_out_t en_a

Enable A input pin for motor Ach.

◆ en_b

digital_out_t en_b

Enable B input pin for motor Ach.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ rst

digital_out_t rst

Reset pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ slp

digital_out_t slp

Sleep mode pin.


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