source:
trunk/firmware_v4/SES/inc/button.h@
42
| Last change on this file since 42 was 42, checked in by , 5 days ago | |
|---|---|
| File size: 304 bytes | |
| Rev | Line | |
|---|---|---|
| [42] | 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 | void BUTTON_SetModeAuto(void); | |
| 19 | ||
| 20 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
