@@ -24,11 +24,11 @@ ton_t s_ton_obj[TON_ID_END];
24
24
25
25
/**
26
26
* \fn void timer_check(uint8_t b_id, uint32_t dw_now)
27
- * \brief Start a periodic timer with a specified duration .
27
+ * \brief
28
28
*
29
- * \param t - variables are stored which function needs
30
- * \param now - system tick continuously running
31
- *
29
+ * \param b_id
30
+ * \param dw_now - system- tick continuously running
31
+ * @retval none
32
32
*/
33
33
void timer_check (uint8_t b_id , uint32_t dw_now )
34
34
{
@@ -54,32 +54,33 @@ void timer_check(uint8_t b_id, uint32_t dw_now)
54
54
}
55
55
56
56
/**
57
- * \fn void timerStart(timeout_t*, uint32_t )
57
+ * \fn void timer_start(uint8_t b_id )
58
58
* \brief
59
- * \param s
60
- * \param interval
59
+ * \param b_id
60
+ * @retval none
61
61
*/
62
62
void timer_start (uint8_t b_id )
63
63
{
64
64
s_timer_obj [b_id ].o_in = true;
65
65
}
66
66
67
67
/**
68
- * \fn void timerStop(timeout_t* )
68
+ * \fn void timer_stop(uint8_t b_id )
69
69
* \brief
70
- * \param s
70
+ * \param b_id
71
+ * @retval none
71
72
*/
72
73
void timer_stop (uint8_t b_id )
73
74
{
74
75
s_timer_obj [b_id ].o_in = false;
75
76
}
76
77
77
78
/**
78
- * @brief void timer_set(uint8_t b_id, uint32_t dw_interval, void(*fp)(void))
79
+ * \fn void timer_set(uint8_t b_id, uint32_t dw_interval, void(*fp)(void))
80
+ * @brief
79
81
* @param b_id
80
82
* @param uint32_t dw_interval
81
83
* @param void(*fp)(void)
82
- *
83
84
* @retval none
84
85
**/
85
86
void timer_set (uint8_t b_id , uint32_t dw_interval , void (* fp )(void ))
@@ -93,7 +94,7 @@ void timer_set(uint8_t b_id, uint32_t dw_interval, void(*fp)(void))
93
94
* \brief Start a timer with a specified duration as on-delay.
94
95
* \param b_id active TON obj selection
95
96
* \param o_in - timer is executed when the "in" state changes from 0 to 1
96
- * \param dw_now - system tick continuously running
97
+ * \param dw_now - system- tick continuously running
97
98
* \param dw_preset_time - timer is started for the time stored in
98
99
* \return if time is over , return value is 1
99
100
*/
0 commit comments