1 /*
2  * Copyright (c) 2006-2025, RT-Thread Development Team
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2023-09-04     Rbb666       first version
9  */
10 
11 #ifndef __TMR_CONFIG_H__
12 #define __TMR_CONFIG_H__
13 
14 #include <rtthread.h>
15 #include <drivers/hwtimer.h>
16 #include <drv_config.h>
17 #include <hal_data.h>
18 
19 #ifdef __cplusplus
20 extern "C"
21 {
22 #endif
23 
24 struct ra_hwtimer
25 {
26     rt_hwtimer_t                    tmr_device;
27     gpt_instance_ctrl_t             *g_ctrl;
28     timer_instance_t const *const   g_timer;
29     timer_cfg_t const *const        g_cfg;
30     char                            *name;
31 };
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* __TMR_CONFIG_H__ */
38