reworeked some stuff in ADC.c
added geter for comparators of mcpwm.c for ADC synchromisation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef MCPWM_H
|
||||
#define MCPWM_H
|
||||
|
||||
#include "hal/mcpwm_types.h"
|
||||
#include "driver/mcpwm_prelude.h"
|
||||
typedef enum {
|
||||
PHASE_U,
|
||||
PHASE_V,
|
||||
@@ -10,5 +11,5 @@ typedef enum {
|
||||
void mcpwm_init();
|
||||
void set_mcpwm_output(Phase highside, Phase lowside, float Duty);
|
||||
void set_mcpwm_duty(float Duty);
|
||||
|
||||
void get_comps(mcpwm_cmpr_handle_t comps[3]);
|
||||
#endif
|
||||
Reference in New Issue
Block a user