RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
cputimer.h 文件参考
#include <rtthread.h>
+ cputimer.h 的引用(Include)关系图:
+ 此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

结构体

struct  rt_cputimer
 

类型定义

typedef struct rt_cputimerrt_cputimer_t
 

函数

rt_err_t rt_cputimer_detach (rt_cputimer_t timer)
 
void rt_cputimer_init (rt_cputimer_t timer, const char *name, void(*timeout)(void *parameter), void *parameter, rt_uint64_t tick, rt_uint8_t flag)
 
rt_err_t rt_cputimer_delete (rt_cputimer_t timer)
 
rt_err_t rt_cputimer_start (rt_cputimer_t timer)
 
rt_err_t rt_cputimer_stop (rt_cputimer_t timer)
 
rt_err_t rt_cputimer_control (rt_cputimer_t timer, int cmd, void *arg)
 
rt_err_t rt_cputime_sleep (rt_uint64_t tick)
 
rt_err_t rt_cputime_ndelay (rt_uint64_t ns)
 
rt_err_t rt_cputime_udelay (rt_uint64_t us)
 
rt_err_t rt_cputime_mdelay (rt_uint64_t ms)
 

类型定义说明

◆ rt_cputimer_t

typedef struct rt_cputimer* rt_cputimer_t

在文件 cputimer.h26 行定义.

函数说明

◆ rt_cputimer_detach()

rt_err_t rt_cputimer_detach ( rt_cputimer_t timer)

◆ rt_cputimer_init()

void rt_cputimer_init ( rt_cputimer_t timer,
const char * name,
void(* timeout )(void *parameter),
void * parameter,
rt_uint64_t tick,
rt_uint8_t flag )

◆ rt_cputimer_delete()

rt_err_t rt_cputimer_delete ( rt_cputimer_t timer)

◆ rt_cputimer_start()

rt_err_t rt_cputimer_start ( rt_cputimer_t timer)

◆ rt_cputimer_stop()

rt_err_t rt_cputimer_stop ( rt_cputimer_t timer)

◆ rt_cputimer_control()

rt_err_t rt_cputimer_control ( rt_cputimer_t timer,
int cmd,
void * arg )

◆ rt_cputime_sleep()

rt_err_t rt_cputime_sleep ( rt_uint64_t tick)

◆ rt_cputime_ndelay()

rt_err_t rt_cputime_ndelay ( rt_uint64_t ns)

◆ rt_cputime_udelay()

rt_err_t rt_cputime_udelay ( rt_uint64_t us)

◆ rt_cputime_mdelay()

rt_err_t rt_cputime_mdelay ( rt_uint64_t ms)