Home
last modified time | relevance | path

Searched defs:rt_hwtimer_device (Results 1 – 1 of 1) sorted by relevance

/components/drivers/include/drivers/
A Dhwtimer.h64 typedef struct rt_hwtimer_device struct
66 struct rt_device parent;
67 const struct rt_hwtimer_ops *ops;
68 const struct rt_hwtimer_info *info;
70 rt_int32_t freq; /* counting frequency set by the user */
71 rt_int32_t overflow; /* timer overflows */
72 float period_sec;
73 … rt_int32_t cycles; /* how many times will generate a timeout event after overflow */
74 rt_int32_t reload; /* reload cycles(using in period mode) */
75 rt_hwtimer_mode_t mode; /* timing mode(oneshot/period) */

Completed in 2 milliseconds