![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
R_Sw_Check.h@0:8e3468376286, 2011-05-07 (annotated)
- Committer:
- faker
- Date:
- Sat May 07 12:37:10 2011 +0000
- Revision:
- 0:8e3468376286
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
faker | 0:8e3468376286 | 1 | /*****************************************************/ |
faker | 0:8e3468376286 | 2 | /* Rotary Switch Check.h */ |
faker | 0:8e3468376286 | 3 | /* */ |
faker | 0:8e3468376286 | 4 | /* */ |
faker | 0:8e3468376286 | 5 | /*****************************************************/ |
faker | 0:8e3468376286 | 6 | |
faker | 0:8e3468376286 | 7 | #ifndef _SW_CHECK_INCLUDE |
faker | 0:8e3468376286 | 8 | #define _SW_CHECK_INCLUDE |
faker | 0:8e3468376286 | 9 | |
faker | 0:8e3468376286 | 10 | #undef EXTERN |
faker | 0:8e3468376286 | 11 | #ifdef SW_CHECK_MAIN |
faker | 0:8e3468376286 | 12 | #define EXTERN |
faker | 0:8e3468376286 | 13 | #else |
faker | 0:8e3468376286 | 14 | #define EXTERN extern |
faker | 0:8e3468376286 | 15 | #endif |
faker | 0:8e3468376286 | 16 | |
faker | 0:8e3468376286 | 17 | // Gloval Valinat |
faker | 0:8e3468376286 | 18 | |
faker | 0:8e3468376286 | 19 | EXTERN char |
faker | 0:8e3468376286 | 20 | #ifdef SW_CHECK_MAIN |
faker | 0:8e3468376286 | 21 | g_sw0_0 = 1, g_sw1_0 = 1, g_sw2_0 = 1, g_sw3_0 = 1; |
faker | 0:8e3468376286 | 22 | #else |
faker | 0:8e3468376286 | 23 | g_sw0_0, g_sw1_0, g_sw2_0, g_sw3_0; |
faker | 0:8e3468376286 | 24 | #endif |
faker | 0:8e3468376286 | 25 | |
faker | 0:8e3468376286 | 26 | // Function |
faker | 0:8e3468376286 | 27 | |
faker | 0:8e3468376286 | 28 | EXTERN unsigned char ucRotarySwPol(char, char, char, char, char, char, char, char, int*); |
faker | 0:8e3468376286 | 29 | |
faker | 0:8e3468376286 | 30 | #undef EXTERN |
faker | 0:8e3468376286 | 31 | #endif |