dcmotor12 2.1.0.0
dcmotor12_t Struct Reference

DC Motor 12 Click context object. More...

#include <dcmotor12.h>

Data Fields

digital_out_t clk
 
digital_out_t slp
 
digital_in_t int_pin
 
spi_master_t spi
 
i2c_master_t i2c
 
analog_in_t adc
 
uint8_t slave_address
 
pin_name_t chip_select
 

Detailed Description

DC Motor 12 Click context object.

Context object definition of DC Motor 12 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ clk

digital_out_t clk

PWM clock pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

PCA9538A interrupt pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ slp

digital_out_t slp

Sleep pin (Active low).

◆ spi

spi_master_t spi

SPI driver object.


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