1 /*
2  * Copyright (C) 2022-2024, Xiaohua Semiconductor Co., Ltd.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2023-02-09     CDT          first version
9  */
10 
11 #ifndef  __DRV_WKTM_H__
12 #define  __DRV_WKTM_H__
13 
14 #include <rtthread.h>
15 
16 rt_err_t hc32_wktm_start(rt_uint32_t reload);
17 void hc32_wktm_stop(void);
18 
19 rt_uint32_t hc32_wktm_get_countfreq(void);
20 rt_uint32_t hc32_wktm_get_tick_max(void);
21 rt_uint32_t hc32_wktm_get_timeout_tick(void);
22 
23 #endif /* __DRV_WKTM_H__ */
24