Move PWM and MOSFET implementations into separate module files
This commit is contained in:
15
src/bus/mosfet.h
Normal file
15
src/bus/mosfet.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef MAD_BUS_MOSFET_H
|
||||
#define MAD_BUS_MOSFET_H
|
||||
|
||||
#include <avr/io.h>
|
||||
|
||||
// MOSFETS
|
||||
#define MOS01 PB0 // Peltier Enable
|
||||
#define MOS02 PB1 // Heating Enable
|
||||
#define MOS03 PB2 // Lights Enable
|
||||
|
||||
int MOS_Init(void);
|
||||
void MOS_Enable(int port);
|
||||
void MOS_Disable(int port);
|
||||
|
||||
#endif // MAD_BUS_MOSFET_H
|
||||
Reference in New Issue
Block a user