brushless22 2.0.0.0
|
This file contains API for Brushless 22 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_pwm.h"
Go to the source code of this file.
Data Structures | |
struct | brushless22_t |
Brushless 22 Click driver selector. More... | |
struct | brushless22_cfg_t |
Brushless 22 Click configuration object. More... | |
Enumerations | |
enum | brushless22_return_value_t { BRUSHLESS22_OK = 0 , BRUSHLESS22_ERROR = -1 } |
Brushless 22 Click return value data. More... | |
Functions | |
void | brushless22_cfg_setup (brushless22_cfg_t *cfg) |
Brushless 22 configuration object setup function. | |
err_t | brushless22_init (brushless22_t *ctx, brushless22_cfg_t *cfg) |
Brushless 22 initialization function. | |
err_t | brushless22_default_cfg (brushless22_t *ctx) |
Brushless 22 default configuration function. | |
err_t | brushless22_set_slew_rate_resistance (brushless22_t *ctx, uint16_t res_ohm) |
Brushless 22 set slew rate resistance function. | |
err_t | brushless22_set_rprog (brushless22_t *ctx, uint16_t res_ohm) |
Brushless 22 set rprog function. | |
err_t | brushless22_set_duty_cycle (brushless22_t *ctx, float duty_cycle) |
Brushless 22 sets PWM duty cycle. | |
err_t | brushless22_pwm_stop (brushless22_t *ctx) |
Brushless 22 stop PWM module. | |
err_t | brushless22_pwm_start (brushless22_t *ctx) |
Brushless 22 start PWM module. | |
void | brushless22_set_strong_start (brushless22_t *ctx) |
Brushless 22 set strong start function. | |
void | brushless22_set_soft_start (brushless22_t *ctx) |
Brushless 22 set soft start function. | |
void | brushless22_set_direction (brushless22_t *ctx, uint8_t dir) |
Brushless 22 set direction function. | |
void | brushless22_switch_direction (brushless22_t *ctx) |
Brushless 22 switch direction function. | |
void | brushless22_set_normal_regulation (brushless22_t *ctx) |
Brushless 22 set normal regulation function. | |
void | brushless22_set_low_load_regulation (brushless22_t *ctx) |
Brushless 22 set low load regulation function. | |
uint8_t | brushless22_get_fg_pin (brushless22_t *ctx) |
Brushless 22 get fd pin function. | |
This file contains API for Brushless 22 Click Driver.