Files
HendiControlFirmware/Control/firmware/uart_echo/port.h
T
jens 8a8bb762e0 - adc is event based
- changed timer frequency
- prepared for SW timer
- added PowerSwitch_in


git-svn-id: http://moon:8086/svn/projects/HendiControl@30 fda53097-d464-4ada-af97-ba876c37ca34
2019-02-28 19:18:40 +00:00

26 lines
339 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_out = 3,
PwrSwitch_in = 4,
NUM_ITEMS
};
void port_init();
void portSet(int portItem, int enable);
int portGet(int portItem);
#endif /* PORT_H_ */