added set_Frequency to mcpwm.c
changes mcpwm to upDown Timer
This commit is contained in:
@@ -9,7 +9,9 @@ typedef enum {
|
||||
} Phase;
|
||||
|
||||
void mcpwm_init();
|
||||
void set_mcpwm_output(Phase highside, Phase lowside, float Duty);
|
||||
void set_mcpwm_duty(float Duty);
|
||||
esp_err_t set_mcpwm_output(Phase highside, Phase lowside);
|
||||
esp_err_t set_mcpwm_duty(float duty);
|
||||
esp_err_t set_mcpwm_frequenzy(uint16_t frequenzy);
|
||||
void get_comps(mcpwm_cmpr_handle_t comps[3]);
|
||||
float get_duty();
|
||||
#endif
|
||||
Reference in New Issue
Block a user