brushless22 2.0.0.0
brushless22_cfg_t Struct Reference

Brushless 22 Click configuration object. More...

#include <brushless22.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t pwm
 
pin_name_t dir
 
pin_name_t ss
 
pin_name_t fg
 
pin_name_t rt
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
uint32_t dev_pwm_freq
 

Detailed Description

Brushless 22 Click configuration object.

Configuration object definition of Brushless 22 Click driver.

Field Documentation

◆ dev_pwm_freq

uint32_t dev_pwm_freq

PWM frequency value.

◆ dir

pin_name_t dir

Motor rotation direction pin (Forward-LOW, Reverse-HIGH).

◆ fg

pin_name_t fg

Motor speed indication 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 pin.

◆ rt

pin_name_t rt

Regulation target pin.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ ss

pin_name_t ss

Strong start pin (Active High).


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