dcmotor24 2.1.0.0
dcmotor24_t Struct Reference

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
 

Detailed Description

DC Motor 24 Click context object.

Context object definition of DC Motor 24 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ config_word

uint16_t config_word

◆ dir

digital_out_t dir

Direction select pin (High-Forward, Low-Reverse).

◆ en

digital_out_t en

Enable pin (Active high).

◆ pwm

pwm_t pwm

PWM driver object.

◆ pwm_freq

uint32_t pwm_freq

PWM frequency value.

◆ spi

spi_master_t spi

SPI driver object.


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