1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2019-07-29 zdzn first version 9 */ 10 #ifndef __DRV_TIMER_H__ 11 #define __DRV_TIMER_H__ 12 13 #include <rtthread.h> 14 #include <rtdevice.h> 15 16 #include "board.h" 17 18 typedef struct rt_systimer_device 19 { 20 int timer_id; 21 rt_uint32_t cnt; 22 } rt_systimer_t; 23 24 int rt_hw_systimer_init(void); 25 26 27 #endif 28