brushless8 2.0.0.0
brushless8_s Struct Reference

Brushless 8 Click context object. More...

#include <brushless8.h>

Data Fields

digital_out_t dir
 
digital_out_t res
 
digital_in_t an
 
digital_in_t fg
 
i2c_master_t i2c
 
pwm_t pwm
 
analog_in_t adc
 
uint8_t slave_address
 
uint16_t pwm_period
 
uint32_t pwm_freq
 
uint8_t ctrl_mod
 

Detailed Description

Brushless 8 Click context object.

Context object definition of Brushless 8 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC driver object.

◆ an

digital_in_t an

Analog input pin.

◆ ctrl_mod

uint8_t ctrl_mod

Selected operating mode.

◆ dir

digital_out_t dir

Chip select pin.

◆ fg

digital_in_t fg

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

◆ pwm_period

uint16_t pwm_period

PWM period value.

◆ res

digital_out_t res

Reset pin.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).


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