![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pissa pepper
mybc95.h@0:a9ea0137c16b, 2018-04-20 (annotated)
- Committer:
- donghuoyinzi
- Date:
- Fri Apr 20 02:49:37 2018 +0000
- Revision:
- 0:a9ea0137c16b
pissa pepper
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donghuoyinzi | 0:a9ea0137c16b | 1 | #ifndef mybc95_H |
donghuoyinzi | 0:a9ea0137c16b | 2 | #define mybc95_H |
donghuoyinzi | 0:a9ea0137c16b | 3 | class bc95script |
donghuoyinzi | 0:a9ea0137c16b | 4 | { |
donghuoyinzi | 0:a9ea0137c16b | 5 | public: |
donghuoyinzi | 0:a9ea0137c16b | 6 | static int poL; |
donghuoyinzi | 0:a9ea0137c16b | 7 | static int poC_initF; static int poC_initS; static int poC_redyF; static int poC_redyS; |
donghuoyinzi | 0:a9ea0137c16b | 8 | static int poC_revokF; static int poC_revokS; static int poC_getimF; static int poC_getimS; |
donghuoyinzi | 0:a9ea0137c16b | 9 | static int poC_putF; static int poC_putS; |
donghuoyinzi | 0:a9ea0137c16b | 10 | static int poC_setrtcF; static int poC_setrtcS; |
donghuoyinzi | 0:a9ea0137c16b | 11 | static int poC_stpSe; static int poC_cntSe; static int poC_cntlink; static int poC_cntche; |
donghuoyinzi | 0:a9ea0137c16b | 12 | static int poC_isrS; static int poC_year; static int poC_mon; static int poC_day; |
donghuoyinzi | 0:a9ea0137c16b | 13 | static int poC_hour; static int poC_min; static int poC_sec; |
donghuoyinzi | 0:a9ea0137c16b | 14 | }; |
donghuoyinzi | 0:a9ea0137c16b | 15 | extern bc95script bc95scpt; |
donghuoyinzi | 0:a9ea0137c16b | 16 | |
donghuoyinzi | 0:a9ea0137c16b | 17 | class bc95Act |
donghuoyinzi | 0:a9ea0137c16b | 18 | { |
donghuoyinzi | 0:a9ea0137c16b | 19 | public: |
donghuoyinzi | 0:a9ea0137c16b | 20 | static void init(void); //bc95 initialization |
donghuoyinzi | 0:a9ea0137c16b | 21 | static void put(void); |
donghuoyinzi | 0:a9ea0137c16b | 22 | |
donghuoyinzi | 0:a9ea0137c16b | 23 | private: |
donghuoyinzi | 0:a9ea0137c16b | 24 | |
donghuoyinzi | 0:a9ea0137c16b | 25 | //static DigitalOut pow; |
donghuoyinzi | 0:a9ea0137c16b | 26 | static DigitalOut reset; |
donghuoyinzi | 0:a9ea0137c16b | 27 | static Serial uart; |
donghuoyinzi | 0:a9ea0137c16b | 28 | }; |
donghuoyinzi | 0:a9ea0137c16b | 29 | |
donghuoyinzi | 0:a9ea0137c16b | 30 | #endif |