aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/Source/c_button.iom
diff options
context:
space:
mode:
authorNicolas Schodet2023-03-06 17:36:31 +0100
committerNicolas Schodet2023-03-06 17:36:31 +0100
commitd383f2bcdb6ff13cc562fce1ff55d826035debad (patch)
treef5cd0440869b8ba823fd254b361cdefe95e153b4 /AT91SAM7S256/Source/c_button.iom
parent8fce63fda48a6593870ffd3c584c9dd0808bc2c2 (diff)
Simplify source tree
Now just use make in the root directory to build.
Diffstat (limited to 'AT91SAM7S256/Source/c_button.iom')
-rw-r--r--AT91SAM7S256/Source/c_button.iom61
1 files changed, 0 insertions, 61 deletions
diff --git a/AT91SAM7S256/Source/c_button.iom b/AT91SAM7S256/Source/c_button.iom
deleted file mode 100644
index 640a7cd..0000000
--- a/AT91SAM7S256/Source/c_button.iom
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Date init 14.12.2004
-//
-// Revision date $Date:: 14-11-07 12:40 $
-//
-// Filename $Workfile:: c_button.iom $
-//
-// Version $Revision:: 1 $
-//
-// Archive $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/c_butt $
-//
-// Platform C
-//
-
-#ifndef CBUTTON_IOM
-#define CBUTTON_IOM
-
-#define pMapButton ((IOMAPBUTTON*)(pHeaders[ENTRY_BUTTON]->pIOMap))
-
-enum
-{
- BTN1,
- BTN2,
- BTN3,
- BTN4,
- NO_OF_BTNS
-};
-
-/* Costants related to State */
-enum
-{
- PRESSED_EV = 0x01,
- SHORT_RELEASED_EV = 0x02,
- LONG_PRESSED_EV = 0x04,
- LONG_RELEASED_EV = 0x08,
- PRESSED_STATE = 0x80
-};
-
-typedef struct
-{
- UBYTE PressedCnt;
- UBYTE LongPressCnt;
- UBYTE ShortRelCnt;
- UBYTE LongRelCnt;
- UBYTE RelCnt;
- UBYTE SpareOne;
- UBYTE SpareTwo;
- UBYTE SpareThree;
-}BTNCNT;
-
-typedef struct
-{
- BTNCNT BtnCnt[NO_OF_BTNS];
- UBYTE State[NO_OF_BTNS];
-}IOMAPBUTTON;
-
-
-#endif
-
-
-