dcmotor24 2.1.0.0
|
DC Motor 24 Click context object. More...
#include <dcmotor24.h>
Data Fields | |
digital_out_t | dir |
digital_out_t | en |
spi_master_t | spi |
pwm_t | pwm |
pin_name_t | chip_select |
uint32_t | pwm_freq |
uint16_t | config_word |
DC Motor 24 Click context object.
Context object definition of DC Motor 24 Click driver.
pin_name_t chip_select |
Chip select pin descriptor (used for SPI driver).
uint16_t config_word |
digital_out_t dir |
Direction select pin (High-Forward, Low-Reverse).
digital_out_t en |
Enable pin (Active high).
pwm_t pwm |
PWM driver object.
uint32_t pwm_freq |
PWM frequency value.
spi_master_t spi |
SPI driver object.