brushless8 2.0.0.0
brushless8_cfg_t Struct Reference

Brushless 8 Click configuration object. More...

#include <brushless8.h>

Data Fields

pin_name_t scl
 
pin_name_t sda
 
pin_name_t dir
 
pin_name_t an
 
pin_name_t res
 
pin_name_t pwm
 
pin_name_t fg
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
uint32_t dev_pwm_freq
 
analog_in_resolution_t resolution
 
float vref
 
uint8_t ctrl_mod
 

Detailed Description

Brushless 8 Click configuration object.

Configuration object definition of Brushless 8 Click driver.

Field Documentation

◆ an

pin_name_t an

Description.

◆ ctrl_mod

uint8_t ctrl_mod

Selected operating mode.

◆ dev_pwm_freq

uint32_t dev_pwm_freq

PWM frequency value.

◆ dir

pin_name_t dir

Description.

◆ fg

pin_name_t fg

Description.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ pwm

pin_name_t pwm

Description.

◆ res

pin_name_t res

Description.

◆ resolution

analog_in_resolution_t resolution

Resolution

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ vref

float vref

Reference voltage


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