|
Last change
on this file was 29, checked in by f.jahn, 7 weeks ago |
- Auto Restart mode implementiert
- IWDG implementiert
- 24V Kompiler Version implementiert
|
|
File size:
304 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);
|
|---|
| [29] | 18 | void BUTTON_SetModeAuto(void);
|
|---|
| [17] | 19 |
|
|---|
| 20 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.