1#ifndef BLDCDriver6PWM_h
2#define BLDCDriver6PWM_h
4#include "../common/base_classes/BLDCDriver.h"
5#include "../common/foc_utils.h"
6#include "../common/time_utils.h"
7#include "../common/defaults.h"
53 void setPwm(
float Ua,
float Ub,
float Uc)
override;
int pwmB_l
phase B pwm pin number
float dead_zone
a percentage of dead-time(zone) (both high and low side in low) for each pwm cycle [0,...
int pwmA_l
phase A pwm pin number
int enable_pin
enable pin number
virtual void setPhaseState(PhaseState sa, PhaseState sb, PhaseState sc) override
void setPwm(float Ua, float Ub, float Uc) override
PhaseState phase_state[3]
phase state (active / disabled)
int pwmC_l
phase C pwm pin number