RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
rt_hwtimer_ops结构体 参考

#include <hwtimer.h>

成员变量

void(* init )(struct rt_hwtimer_device *timer, rt_uint32_t state)
 
rt_err_t(* start )(struct rt_hwtimer_device *timer, rt_uint32_t cnt, rt_hwtimer_mode_t mode)
 
void(* stop )(struct rt_hwtimer_device *timer)
 
rt_uint32_t(* count_get )(struct rt_hwtimer_device *timer)
 
rt_err_t(* control )(struct rt_hwtimer_device *timer, rt_uint32_t cmd, void *args)
 

详细描述

在文件 hwtimer.h46 行定义.

结构体成员变量说明

◆ init

void(* rt_hwtimer_ops::init) (struct rt_hwtimer_device *timer, rt_uint32_t state)

在文件 hwtimer.h48 行定义.

◆ start

rt_err_t(* rt_hwtimer_ops::start) (struct rt_hwtimer_device *timer, rt_uint32_t cnt, rt_hwtimer_mode_t mode)

在文件 hwtimer.h49 行定义.

◆ stop

void(* rt_hwtimer_ops::stop) (struct rt_hwtimer_device *timer)

在文件 hwtimer.h50 行定义.

◆ count_get

rt_uint32_t(* rt_hwtimer_ops::count_get) (struct rt_hwtimer_device *timer)

在文件 hwtimer.h51 行定义.

◆ control

rt_err_t(* rt_hwtimer_ops::control) (struct rt_hwtimer_device *timer, rt_uint32_t cmd, void *args)

在文件 hwtimer.h52 行定义.