Started coil driver class
This commit is contained in:
33
firmware/src/hw/cc_driver.h
Normal file
33
firmware/src/hw/cc_driver.h
Normal 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_ */
|
||||
Reference in New Issue
Block a user