dcmotor22 2.0.0.0
dcmotor22_t Struct Reference

DC Motor 22 Click context object. More...

#include <dcmotor22.h>

Data Fields

digital_out_t a0
 
digital_out_t a1
 
digital_out_t en
 
digital_in_t int_pin
 
i2c_master_t i2c
 
uart_t uart
 
uint8_t uart_device_address
 
uint8_t i2c_slave_address
 
char uart_rx_buffer [DRV_BUFFER_SIZE]
 
char uart_tx_buffer [DRV_BUFFER_SIZE]
 
uint8_t adc_setup_byte
 
uint8_t adc_config_byte
 
uint32_t pwm_ab
 

Detailed Description

DC Motor 22 Click context object.

Context object definition of DC Motor 22 Click driver.

Field Documentation

◆ a0

digital_out_t a0

Address selection pin 0.

◆ a1

digital_out_t a1

Address selection pin 1.

◆ adc_config_byte

uint8_t adc_config_byte

ADC config byte last programmed value.

◆ adc_setup_byte

uint8_t adc_setup_byte

ADC setup byte last programmed value.

◆ en

digital_out_t en

Enable pin (Active High).

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ i2c_slave_address

uint8_t i2c_slave_address

Device slave address (used for I2C driver).

◆ int_pin

digital_in_t int_pin

Diagnostic interrupt pin (Active High).

◆ pwm_ab

uint32_t pwm_ab

PWM AB register settings.

◆ uart

uart_t uart

UART driver object.

◆ uart_device_address

uint8_t uart_device_address

Device slave address (used for UART driver).

◆ uart_rx_buffer

char uart_rx_buffer[DRV_BUFFER_SIZE]

Buffer size.

◆ uart_tx_buffer

char uart_tx_buffer[DRV_BUFFER_SIZE]

Buffer size.


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