![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
clock
myScope/myclodriv.h@3:b8766d623f01, 2018-05-22 (annotated)
- Committer:
- donghuoyinzi
- Date:
- Tue May 22 09:10:05 2018 +0000
- Revision:
- 3:b8766d623f01
- Parent:
- 0:17e9016529cf
0522
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
donghuoyinzi | 0:17e9016529cf | 1 | #include "myknow.h" |
donghuoyinzi | 0:17e9016529cf | 2 | |
donghuoyinzi | 0:17e9016529cf | 3 | #ifndef myclodriv_H |
donghuoyinzi | 0:17e9016529cf | 4 | #define myclodriv_H |
donghuoyinzi | 0:17e9016529cf | 5 | |
donghuoyinzi | 0:17e9016529cf | 6 | class cloDAct |
donghuoyinzi | 0:17e9016529cf | 7 | { |
donghuoyinzi | 0:17e9016529cf | 8 | public: |
donghuoyinzi | 0:17e9016529cf | 9 | static void init(void); |
donghuoyinzi | 0:17e9016529cf | 10 | static void start(void); |
donghuoyinzi | 0:17e9016529cf | 11 | static void data(void); |
donghuoyinzi | 0:17e9016529cf | 12 | static void ready(void); |
donghuoyinzi | 0:17e9016529cf | 13 | static void put_revok(void); |
donghuoyinzi | 0:17e9016529cf | 14 | static void put_snorm(void); |
donghuoyinzi | 0:17e9016529cf | 15 | static void put_mnorm(void); |
donghuoyinzi | 0:17e9016529cf | 16 | static void put_mchas(void); |
donghuoyinzi | 0:17e9016529cf | 17 | static void put_sstop(void); |
donghuoyinzi | 0:17e9016529cf | 18 | static void put_mstop(void); |
donghuoyinzi | 0:17e9016529cf | 19 | static void put_szero(void); |
donghuoyinzi | 0:17e9016529cf | 20 | static void put_mzero(void); |
donghuoyinzi | 0:17e9016529cf | 21 | |
donghuoyinzi | 0:17e9016529cf | 22 | private: |
donghuoyinzi | 0:17e9016529cf | 23 | static void cmp_sec(void); |
donghuoyinzi | 0:17e9016529cf | 24 | static void cmp_smin(void); |
donghuoyinzi | 0:17e9016529cf | 25 | static void cmp_cmin(void); |
donghuoyinzi | 0:17e9016529cf | 26 | |
donghuoyinzi | 0:17e9016529cf | 27 | static int snstpSe; |
donghuoyinzi | 0:17e9016529cf | 28 | static int mnstpSe; |
donghuoyinzi | 0:17e9016529cf | 29 | static int mcstpSe; |
donghuoyinzi | 0:17e9016529cf | 30 | static int spstpSe; |
donghuoyinzi | 0:17e9016529cf | 31 | |
donghuoyinzi | 0:17e9016529cf | 32 | static int sec; |
donghuoyinzi | 0:17e9016529cf | 33 | static int min; |
donghuoyinzi | 0:17e9016529cf | 34 | static int hour; |
donghuoyinzi | 0:17e9016529cf | 35 | }; |
donghuoyinzi | 0:17e9016529cf | 36 | |
donghuoyinzi | 0:17e9016529cf | 37 | |
donghuoyinzi | 0:17e9016529cf | 38 | #endif |
donghuoyinzi | 0:17e9016529cf | 39 |