vibromotor4 2.0.0.0
vibromotor4_cfg_t Struct Reference

Vibro Motor 4 Click configuration object. More...

#include <vibromotor4.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t en
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
pin_name_t pwm
 
uint32_t dev_pwm_freq
 

Detailed Description

Vibro Motor 4 Click configuration object.

Configuration object definition of Vibro Motor 4 Click driver.

Field Documentation

◆ dev_pwm_freq

uint32_t dev_pwm_freq

PWM frequency value.

◆ en

pin_name_t en

Enable pin.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ pwm

pin_name_t pwm

PWM driver object.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.


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