Started coil driver class

This commit is contained in:
2024-04-10 15:46:17 +03:00
parent 78de20e05b
commit 8f7e5036e7
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
#ifndef CONST_CURRENT_DRIVER_H_
#define CONST_CURRENT_DRIVER_H_
/**** Includes ****/
#include <stdint.h>
#include "../board/ain.h"
#include "../board/halfbridge.h"
namespace hw {
/**** Public definitions ****/
class CCdriver
{
protected:
board::AnalogIn* sup_voltage;
board::AnalogIn* sup_current;
board::AnalogIn* ain_ch;
board::AnalogIn* ain_ch;
public:
CCdriver(board::AnalogIn* ain_ch);
~CCdriver(void);
};
/**** Public function declarations ****/
#ifdef TESTING
#endif
} //namespace
#endif /* CONST_CURRENT_DRIVER_H_ */