dcmotor18 2.0.0.0
dcmotor18_t Struct Reference

DC Motor 18 Click driver selector. More...

#include <dcmotor18.h>

Data Fields

digital_out_t pw2
 
digital_out_t en
 
digital_in_t int_pin
 
pwm_t pwm
 
analog_in_t adc
 
uint32_t pwm_freq
 
uint8_t direction
 

Detailed Description

DC Motor 18 Click driver selector.

Selects target driver interface of DC Motor 18 Click driver.

DC Motor 18 Click context object.

Context object definition of DC Motor 18 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ direction

uint8_t direction

Description.

◆ en

digital_out_t en

Enable.

◆ int_pin

digital_in_t int_pin

Interrupt.

◆ pw2

digital_out_t pw2

PWM 2.

◆ pwm

pwm_t pwm

PWM driver object.

◆ pwm_freq

uint32_t pwm_freq

PWM frequency value.


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