brushless21 2.0.0.0
brushless21_cfg_t Struct Reference

Brushless 21 Click configuration object. More...

#include <brushless21.h>

Data Fields

pin_name_t pwm
 
pin_name_t scl
 
pin_name_t sda
 
pin_name_t en
 
pin_name_t fg
 
uint32_t dev_pwm_freq
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
brushless21_drv_t drv_sel
 

Detailed Description

Brushless 21 Click configuration object.

Configuration object definition of Brushless 21 Click driver.

Field Documentation

◆ dev_pwm_freq

uint32_t dev_pwm_freq

PWM frequency value.

◆ drv_sel

Master driver interface selector.

◆ en

pin_name_t en

Enable chip pin.

◆ fg

pin_name_t fg

FG pin provides motor speed information.

◆ 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.

◆ 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: