恭喜,你发布的帖子
发布于 2024-01-19 23:09:04
7楼
下面这种被弃用的处理定时器状态的方法如何?是否还有其它方法?它们各自的优缺点是什么?又当如何取舍?
(*
this timer is used for delay-on/delay-off situation,it includes:
1.year
2.month
3.week
4.day
5.hour
6.minute
7.second
the definition of the statusDWord of the Timer
-------------------------------------------------------------------------------------
bit | function description
-------------------------------------------------------------------------------------
0 | in timing
-------------------------------------------------------------------------------------
1 | seconds timing end
-------------------------------------------------------------------------------------
2 | minutes timing end
-------------------------------------------------------------------------------------
3 | hours timing end
-------------------------------------------------------------------------------------
4 | days timing end
-------------------------------------------------------------------------------------
5 | weeks timing end
-------------------------------------------------------------------------------------
6 | months timing end
-------------------------------------------------------------------------------------
7 | years timing end
-------------------------------------------------------------------------------------
8 |
-------------------------------------------------------------------------------------
9 |
-------------------------------------------------------------------------------------
10 |
-------------------------------------------------------------------------------------
11 |
-------------------------------------------------------------------------------------
12 |
-------------------------------------------------------------------------------------
13 |
-------------------------------------------------------------------------------------
14 |
-------------------------------------------------------------------------------------
15 |
-------------------------------------------------------------------------------------
16 |
-------------------------------------------------------------------------------------
17 |
-------------------------------------------------------------------------------------
18 |
-------------------------------------------------------------------------------------
19 |
-------------------------------------------------------------------------------------
20 |
-------------------------------------------------------------------------------------
21 |
-------------------------------------------------------------------------------------
22 |
-------------------------------------------------------------------------------------
23 |
-------------------------------------------------------------------------------------
24 |
-------------------------------------------------------------------------------------
25 |
-------------------------------------------------------------------------------------
26 |
-------------------------------------------------------------------------------------
27 |
-------------------------------------------------------------------------------------
28 |
-------------------------------------------------------------------------------------
29 |
-------------------------------------------------------------------------------------
30 |
-------------------------------------------------------------------------------------
31 | timing end
-------------------------------------------------------------------------------------
*)
请填写推广理由:
分享
只看
楼主