41#define HWTIMER_CNTMODE_UP 0x01
42#define HWTIMER_CNTMODE_DW 0x02
82extern void (*rt_device_hwtimer_us_delay)(
rt_uint32_t us);
#define RT_DEVICE_CTRL_BASE(Type)
rt_err_t rt_device_hwtimer_register(rt_hwtimer_t *timer, const char *name, void *user_data)
void rt_device_hwtimer_isr(rt_hwtimer_t *timer)
struct rt_hwtimerval rt_hwtimerval_t
struct rt_hwtimer_device rt_hwtimer_t
const struct rt_hwtimer_info * info
const struct rt_hwtimer_ops * ops
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)
rt_uint32_t(* count_get)(struct rt_hwtimer_device *timer)
void(* stop)(struct rt_hwtimer_device *timer)
rt_err_t(* control)(struct rt_hwtimer_device *timer, rt_uint32_t cmd, void *args)