added set_Frequency to mcpwm.c
changes mcpwm to upDown Timer
This commit is contained in:
1 parent
e098ab6c7a
commit
f12f908933
5 files changed
+78
-39
No files matched your search
@@ -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