- fixed ports

- added power switch and command
- temporarly disabled command and ADC event

git-svn-id: http://moon:8086/svn/projects/HendiControl@23 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-02-20 22:17:14 +00:00
parent 7f5ccbfc73
commit f6fca1e28b
3 changed files with 91 additions and 11 deletions
+11
View File
@@ -9,6 +9,17 @@
#ifndef PORT_H_
#define PORT_H_
enum PortItem
{
Led0 = 0,
Led1 = 1,
Led2 = 2,
PwrSwitch = 3,
NUM_ITEMS
};
void port_init();
void portSet(int portItem, int enable);
int portGet(int portItem);
#endif /* PORT_H_ */