work on current sense

This commit is contained in:
2023-11-09 18:50:34 -05:00
parent e76815fb03
commit c1d45aa443
18 changed files with 2324 additions and 1938 deletions

View File

@@ -1,22 +1,19 @@
#ifndef __OPAMP_H__
#define __OPAMP_H__
#ifdef __cplusplus
extern "C" {
#endif
#if defined(SIMPLEFOC_STM32_CUSTOMCURRENTSENSE)
#include "stm32g4xx_hal.h"
#include "stm32g4xx_hal_opamp.h"
#include "communication/SimpleFOCDebug.h"
extern OPAMP_HandleTypeDef hopamp1;
extern OPAMP_HandleTypeDef hopamp2;
extern OPAMP_HandleTypeDef hopamp3;
void configureOPAMP(void);
void configureOPAMPs(void);
#ifdef __cplusplus
}
#endif
#endif
#endif