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