![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
clock
myScope/myclosenr.h@3:b8766d623f01, 2018-05-22 (annotated)
- Committer:
- donghuoyinzi
- Date:
- Tue May 22 09:10:05 2018 +0000
- Revision:
- 3:b8766d623f01
- Parent:
- 1:013b9fdc4e78
0522
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donghuoyinzi | 0:17e9016529cf | 1 | #include "mbed.h" |
donghuoyinzi | 0:17e9016529cf | 2 | |
donghuoyinzi | 0:17e9016529cf | 3 | #include "myf401.h" |
donghuoyinzi | 0:17e9016529cf | 4 | #include "myknow.h" |
donghuoyinzi | 0:17e9016529cf | 5 | |
donghuoyinzi | 0:17e9016529cf | 6 | #ifndef myclosenr_H |
donghuoyinzi | 0:17e9016529cf | 7 | #define myclosenr_H |
donghuoyinzi | 0:17e9016529cf | 8 | |
donghuoyinzi | 0:17e9016529cf | 9 | class cloSAct |
donghuoyinzi | 0:17e9016529cf | 10 | { |
donghuoyinzi | 0:17e9016529cf | 11 | public: |
donghuoyinzi | 0:17e9016529cf | 12 | static void init(void); |
donghuoyinzi | 0:17e9016529cf | 13 | static void start(void); |
donghuoyinzi | 0:17e9016529cf | 14 | static void data(void); |
donghuoyinzi | 0:17e9016529cf | 15 | static void ready(void); |
donghuoyinzi | 0:17e9016529cf | 16 | static void revok(void); |
donghuoyinzi | 0:17e9016529cf | 17 | static void get_sec(void); |
donghuoyinzi | 0:17e9016529cf | 18 | static void get_min(void); |
donghuoyinzi | 0:17e9016529cf | 19 | static void put_open(void); |
donghuoyinzi | 1:013b9fdc4e78 | 20 | |
donghuoyinzi | 1:013b9fdc4e78 | 21 | static void isr_systick1(void); //定时器1中断函数 |
donghuoyinzi | 1:013b9fdc4e78 | 22 | static void isr_systick2(void); //定时器2中断函数 |
donghuoyinzi | 1:013b9fdc4e78 | 23 | static void isr_systick3(void); //定时器3中断函数 |
donghuoyinzi | 0:17e9016529cf | 24 | private: |
donghuoyinzi | 0:17e9016529cf | 25 | static void judg_sec(void); |
donghuoyinzi | 0:17e9016529cf | 26 | static void judg_min(void); |
donghuoyinzi | 0:17e9016529cf | 27 | |
donghuoyinzi | 0:17e9016529cf | 28 | |
donghuoyinzi | 0:17e9016529cf | 29 | static int gsstpSe; |
donghuoyinzi | 0:17e9016529cf | 30 | static int gmstpSe; |
donghuoyinzi | 0:17e9016529cf | 31 | |
donghuoyinzi | 0:17e9016529cf | 32 | static int tick2cnt; |
donghuoyinzi | 0:17e9016529cf | 33 | }; |
donghuoyinzi | 0:17e9016529cf | 34 | |
donghuoyinzi | 0:17e9016529cf | 35 | #endif |
donghuoyinzi | 0:17e9016529cf | 36 |