brushless25 2.1.0.0
brushless25_s Struct Reference

Brushless 25 Click context object. More...

#include <brushless25.h>

Data Fields

digital_out_t rst
 
digital_in_t flt
 
digital_in_t fg
 
pwm_t pwm
 
uint32_t pwm_freq
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
uint8_t spd_ctrl_mode
 
uint8_t crc_en
 

Detailed Description

Brushless 25 Click context object.

Context object definition of Brushless 25 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ crc_en

uint8_t crc_en

CRC enabled/disabled.

◆ fg

digital_in_t fg

Motor speed indicator.

◆ flt

digital_in_t flt

Fault indicator.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ pwm

pwm_t pwm

PWM driver object.

◆ pwm_freq

uint32_t pwm_freq

PWM frequency value.

◆ rst

digital_out_t rst

Driver OFF pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spd_ctrl_mode

uint8_t spd_ctrl_mode

Speed control selector.

◆ spi

spi_master_t spi

SPI driver object.


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