|
void | brushless21_cfg_setup (brushless21_cfg_t *cfg) |
| Brushless 21 configuration object setup function.
|
|
void | brushless21_drv_interface_selection (brushless21_cfg_t *cfg, brushless21_drv_t drv_sel) |
| Brushless 21 driver interface setup function.
|
|
err_t | brushless21_init (brushless21_t *ctx, brushless21_cfg_t *cfg) |
| Brushless 21 initialization function.
|
|
err_t | brushless21_default_cfg (brushless21_t *ctx) |
| Brushless 21 default configuration function.
|
|
err_t | brushless21_pwm_stop (brushless21_t *ctx) |
| Brushless 21 stop PWM module.
|
|
err_t | brushless21_pwm_start (brushless21_t *ctx) |
| Brushless 21 start PWM module.
|
|
err_t | brushless21_set_duty_cycle (brushless21_t *ctx, float duty_cycle) |
| Brushless 21 set duty cycle function.
|
|
err_t | brushless21_write_register (brushless21_t *ctx, uint8_t reg, uint16_t data_in) |
| Brushless 21 write register function.
|
|
err_t | brushless21_read_register (brushless21_t *ctx, uint8_t reg, uint16_t *data_out) |
| Brushless 21 read register function.
|
|
void | brushless21_enable_device (brushless21_t *ctx) |
| Brushless 21 enable device function.
|
|
void | brushless21_disable_device (brushless21_t *ctx) |
| Brushless 21 disable device function.
|
|
uint8_t | brushless21_get_fg_pin (brushless21_t *ctx) |
| Brushless 21 get fg pin function.
|
|
err_t | brushless21_get_temperature (brushless21_t *ctx, int8_t *temperature) |
| Brushless 21 get temperature function.
|
|
err_t | brushless21_get_motor_speed (brushless21_t *ctx, float *motor_speed_hz) |
| Brushless 21 get motor speed function.
|
|
err_t | brushless21_get_vbb_voltage (brushless21_t *ctx, float *vbb_voltage) |
| Brushless 21 get vbb voltage function.
|
|
err_t | brushless21_set_direction (brushless21_t *ctx, uint8_t direction) |
| Brushless 21 set direction function.
|
|
err_t | brushless21_switch_direction (brushless21_t *ctx) |
| Brushless 21 switch direction function.
|
|
This file contains API for Brushless 21 Click Driver.