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