added set for duty cycle and posibilty to change Outputs
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
#ifndef MCPWM_H
|
||||
#define MCPWM_H
|
||||
|
||||
typedef enum {
|
||||
PHASE_U,
|
||||
PHASE_V,
|
||||
PHASE_W
|
||||
} Phase;
|
||||
|
||||
void mcpwm_init();
|
||||
void mcpwm_set_duty(float duty);
|
||||
void set_mcpwm_output(Phase highside, Phase lowside, float Duty);
|
||||
void set_mcpwm_duty(float Duty);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user