source:
trunk/firmware_v2/SES/inc/button.h
@
25
| Last change on this file since 25 was 17, checked in by f.jahn, 3 months ago | |
|---|---|
| File size: 272 bytes | |
| Rev | Line | |
|---|---|---|
| [17] | 1 | #ifndef __BUTTON_H |
| 2 | #define __BUTTON_H | |
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | typedef enum BUTTON_State_enum | |
| 8 | { | |
| 9 | BUTTON_OFF, | |
| 10 | BUTTON_AUTO, | |
| 11 | BUTTON_MANUAL_ON | |
| 12 | } button_state_t; | |
| 13 | ||
| 14 | ||
| 15 | button_state_t BUTTON_Exec(void); | |
| 16 | button_state_t BUTTON_GetMode(void); | |
| 17 | void BUTTON_SetModeOff(void); | |
| 18 | ||
| 19 | #endif |
Note: See TracBrowser
for help on using the repository browser.
