RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
宏定义 | |
#define | DBG_TAG "kernel.timer" |
#define | DBG_LVL DBG_INFO |
rt_inline struct rt_spinlock * _timerlock_idx | ( | struct rt_timer * | timer | ) |
引用了 rt_object::flag, rt_timer::parent , 以及 RT_TIMER_FLAG_SOFT_TIMER.
rt_inline void _timer_remove | ( | rt_timer_t | timer | ) |
Remove the timer
timer | the point of the timer |
引用了 rt_timer::row, rt_list_remove() , 以及 RT_TIMER_SKIP_LIST_LEVEL.
void rt_timer_dump | ( | rt_list_t | timer_heads[] | ) |
dump the all timer information
timer_heads | the head of timer |
引用了 rt_list_node::next, rt_timer::row, rt_kprintf, rt_list_entry , 以及 RT_TIMER_SKIP_LIST_LEVEL.