4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-04 01:14:34 +08:00
Yilin Sun c224278d3e [bsp][nxp/mcxn] hwtimer: initial support for MRT.
This patch adds support for hwtimer using MRT0 instance which simulates
4 independent timers. The frequency is fixed to AHB bus frequency and
not adjustable.

Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-02-21 18:01:17 -05:00

21 lines
367 B
C

/*
* Copyright (c) 2006-2024, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2024-02-21 Yilin Sun Initial revision.
*/
#ifndef __DRV_HWTIMER_H__
#define __DRV_HWTIMER_H__
#include <rtthread.h>
#include <rtdevice.h>
int rt_hw_hwtimer_init(void);
#endif /* __DRV_HWTIMER_H__ */