#include <BLDCDriver.h>
|
| float | dc_a |
| | currently set duty cycle on phaseA
|
| |
| float | dc_b |
| | currently set duty cycle on phaseB
|
| |
| float | dc_c |
| | currently set duty cycle on phaseC
|
| |
| long | pwm_frequency |
| | pwm frequency value in hertz
|
| |
| float | voltage_power_supply |
| | power supply voltage
|
| |
| float | voltage_limit |
| | limiting voltage set to the motor
|
| |
| bool | initialized = false |
| | true if driver was successfully initialized
|
| |
| void * | params = 0 |
| | pointer to hardware specific parameters of driver
|
| |
| bool | enable_active_high = true |
| | enable pin should be set to high to enable the driver (default is HIGH)
|
| |
Definition at line 7 of file BLDCDriver.h.
◆ setPhaseState()
Set phase state, enable/disable
- Parameters
-
| sc | - phase A state : active / disabled ( high impedance ) |
| sb | - phase B state : active / disabled ( high impedance ) |
| sa | - phase C state : active / disabled ( high impedance ) |
Implemented in BLDCDriver3PWM, and BLDCDriver6PWM.
◆ setPwm()
| virtual void BLDCDriver::setPwm |
( |
float |
Ua, |
|
|
float |
Ub, |
|
|
float |
Uc |
|
) |
| |
|
pure virtual |
Set phase voltages to the hardware
- Parameters
-
| Ua | - phase A voltage |
| Ub | - phase B voltage |
| Uc | - phase C voltage |
Implemented in BLDCDriver3PWM, and BLDCDriver6PWM.
◆ type()
◆ dc_a
currently set duty cycle on phaseA
Definition at line 10 of file BLDCDriver.h.
◆ dc_b
currently set duty cycle on phaseB
Definition at line 11 of file BLDCDriver.h.
◆ dc_c
currently set duty cycle on phaseC
Definition at line 12 of file BLDCDriver.h.
The documentation for this class was generated from the following file: