brushless21 2.0.0.0
brushless21_t Struct Reference

Brushless 21 Click context object. More...

#include <brushless21.h>

Data Fields

digital_out_t en
 
digital_in_t fg
 
pwm_t pwm
 
i2c_master_t i2c
 
uint32_t pwm_freq
 
uint8_t slave_address
 
brushless21_drv_t drv_sel
 

Detailed Description

Brushless 21 Click context object.

Context object definition of Brushless 21 Click driver.

Field Documentation

◆ drv_sel

Master driver interface selector.

◆ en

digital_out_t en

Enable chip pin.

◆ fg

digital_in_t fg

FG pin provides motor speed information.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ pwm

pwm_t pwm

PWM driver object.

◆ pwm_freq

uint32_t pwm_freq

PWM frequency value.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).


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