RT-Thread RTOS  1.2.0
An open source embedded real-time operating system

#include <rtdef.h>

Data Fields

struct rt_object parent
 
rt_timer_func_t timeout_func
 
void * parameter
 
rt_tick_t init_tick
 
rt_tick_t timeout_tick
 

Detailed Description

timer structure

Field Documentation

◆ parent

struct rt_object rt_timer::parent

inherit from rt_object

◆ timeout_func

rt_timer_func_t rt_timer::timeout_func

timeout function

◆ parameter

void* rt_timer::parameter

timeout function's parameter

◆ init_tick

rt_tick_t rt_timer::init_tick

timer timeout tick

◆ timeout_tick

rt_tick_t rt_timer::timeout_tick

timeout tick