dcmotor18 2.0.0.0
dcmotor18_cfg_t Struct Reference

DC Motor 18 Click configuration object. More...

#include <dcmotor18.h>

Data Fields

pin_name_t pwm
 
pin_name_t an
 
pin_name_t pw2
 
pin_name_t en
 
pin_name_t int_pin
 
uint32_t dev_pwm_freq
 
analog_in_resolution_t resolution
 
float vref
 

Detailed Description

DC Motor 18 Click configuration object.

Configuration object definition of DC Motor 18 Click driver.

Field Documentation

◆ an

pin_name_t an

Analog pin descriptor.

◆ dev_pwm_freq

uint32_t dev_pwm_freq

PWM frequency value.

◆ en

pin_name_t en

Enable.

◆ int_pin

pin_name_t int_pin

Interrupt.

◆ pw2

pin_name_t pw2

PWM 2.

◆ pwm

pin_name_t pwm

PWM pin.

◆ resolution

analog_in_resolution_t resolution

ADC resolution.

◆ vref

float vref

ADC reference voltage.


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