1
10
13
14
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
94
95
96
102
108
109
110
111
112
...
...
...
#define TX_SOURCE_CODE
#include "tx_api.h"
#include "tx_timer.h"
...
...
UINT _txe_timer_info_get(TX_TIMER *timer_ptr, CHAR **name, UINT *active, ULONG *remaining_ticks,
ULONG *reschedule_ticks, TX_TIMER **next_timer)
{
UINT status;
if (timer_ptr == TX_NULL)
{
status = TX_TIMER_ERROR;
}if (timer_ptr == TX_NULL) { ... }
else if (timer_ptr -> tx_timer_id != TX_TIMER_ID)
{
status = TX_TIMER_ERROR;
}else if (timer_ptr -> tx_timer_id != TX_TIMER_ID) { ... }
else
{
status = _tx_timer_info_get(timer_ptr, name, active, remaining_ticks, reschedule_ticks, next_timer);
}else { ... }
return(status);
}{ ... }