brushless10 2.1.0.0
|
This file contains API for Brushless 10 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_pwm.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | brushless10_t |
Brushless 10 Click context object. More... | |
struct | brushless10_cfg_t |
Brushless 10 Click configuration object. More... | |
Enumerations | |
enum | brushless10_return_value_t { BRUSHLESS10_OK = 0 , BRUSHLESS10_ERROR = -1 } |
Brushless 10 Click return value data. More... | |
Functions | |
void | brushless10_cfg_setup (brushless10_cfg_t *cfg) |
Brushless 10 configuration object setup function. | |
err_t | brushless10_init (brushless10_t *ctx, brushless10_cfg_t *cfg) |
Brushless 10 initialization function. | |
err_t | brushless10_default_cfg (brushless10_t *ctx) |
Brushless 10 default configuration function. | |
err_t | brushless10_dac_write (brushless10_t *ctx, uint8_t reg, uint16_t data_in) |
Brushless 10 DAC write function. | |
err_t | brushless10_dac_read (brushless10_t *ctx, uint8_t reg, uint16_t *data_out) |
Brushless 10 DAC read function. | |
err_t | brushless10_set_duty_cycle (brushless10_t *ctx, float duty_cycle) |
Brushless 10 sets PWM duty cycle. | |
err_t | brushless10_pwm_stop (brushless10_t *ctx) |
Brushless 10 stop PWM module. | |
err_t | brushless10_pwm_start (brushless10_t *ctx) |
Brushless 10 start PWM module. | |
uint8_t | brushless10_get_fg_out_pin (brushless10_t *ctx) |
Brushless 10 get fg out pin function. | |
uint8_t | brushless10_get_ld_out_pin (brushless10_t *ctx) |
Brushless 10 get ld out pin function. | |
void | brushless10_pull_brake (brushless10_t *ctx) |
Brushless 10 pull brake function. | |
void | brushless10_release_brake (brushless10_t *ctx) |
Brushless 10 release brake function. | |
err_t | brushless10_dac_check_com (brushless10_t *ctx) |
Brushless 10 DAC check com function. | |
err_t | brushless10_dac_sw_reset (brushless10_t *ctx) |
Brushless 10 DAC sw reset function. | |
err_t | brushless10_dac_set_data (brushless10_t *ctx, uint8_t channel, uint8_t data_in) |
Brushless 10 DAC set data function. | |
err_t | brushless10_dac_set_vout (brushless10_t *ctx, uint8_t channel, uint16_t vout_mv) |
Brushless 10 DAC set vout function. | |
This file contains API for Brushless 10 Click Driver.