- 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:
@@ -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_ */
|
||||
Reference in New Issue
Block a user