Files
HendiControlFirmware/Control/firmware/uart_echo/port.h
T
jens f6fca1e28b - 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
2019-02-20 22:17:14 +00:00

25 lines
315 B
C

/*
* port.h
*
* Created: 20.02.2019 20:54:45
* Author: jens
*/
#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_ */