[components/drivers]update hwtimer (#8565)

This commit is contained in:
zms123456
2024-02-29 22:27:38 +08:00
committed by GitHub
parent 97c5edf947
commit 6b5058ba5c
8 changed files with 503 additions and 14 deletions
@@ -78,6 +78,10 @@ typedef struct rt_hwtimer_device
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);
#ifdef RT_USING_DM
extern void (*rt_device_hwtimer_us_delay)(rt_uint32_t us);
#endif
#ifdef __cplusplus
}
#endif
+1
View File
@@ -183,6 +183,7 @@ extern "C" {
#ifdef RT_USING_DM
#include "drivers/core/dm.h"
#include "drivers/platform.h"
#ifdef RT_USING_OFW
#include "drivers/ofw.h"