brushless22 2.0.0.0
brushless22_t Struct Reference

Brushless 22 Click driver selector. More...

#include <brushless22.h>

Data Fields

digital_out_t dir
 
digital_out_t ss
 
digital_out_t rt
 
digital_in_t fg
 
i2c_master_t i2c
 
pwm_t pwm
 
uint8_t slave_address
 
uint32_t pwm_freq
 

Detailed Description

Brushless 22 Click driver selector.

Selects target driver interface of Brushless 22 Click driver.

Brushless 22 Click context object.

Context object definition of Brushless 22 Click driver.

Field Documentation

◆ dir

digital_out_t dir

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

◆ fg

digital_in_t fg

Motor speed indication pin.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ pwm

pwm_t pwm

PWM driver object.

◆ pwm_freq

uint32_t pwm_freq

PWM frequency value.

◆ rt

digital_out_t rt

Regulation target pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ ss

digital_out_t ss

Strong start pin.


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