dcmotor22 2.0.0.0
|
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 |
DC Motor 22 Click context object.
Context object definition of DC Motor 22 Click driver.
digital_out_t a0 |
Address selection pin 0.
digital_out_t a1 |
Address selection pin 1.
uint8_t adc_config_byte |
ADC config byte last programmed value.
uint8_t adc_setup_byte |
ADC setup byte last programmed value.
digital_out_t en |
Enable pin (Active High).
i2c_master_t i2c |
I2C driver object.
uint8_t i2c_slave_address |
Device slave address (used for I2C driver).
digital_in_t int_pin |
Diagnostic interrupt pin (Active High).
uint32_t pwm_ab |
PWM AB register settings.
uart_t uart |
UART driver object.
uint8_t uart_device_address |
Device slave address (used for UART driver).
char uart_rx_buffer[DRV_BUFFER_SIZE] |
Buffer size.
char uart_tx_buffer[DRV_BUFFER_SIZE] |
Buffer size.