summaryrefslogtreecommitdiff
path: root/libcpu/risc-v/t-head/c906/tick.h
blob: 00e4c120b78aaad6f4a72762fee792c930ed244a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018/10/28     Bernard      The unify RISC-V porting code.
 */

#ifndef TICK_H__
#define TICK_H__

/* timer clock is 24 MHZ */
#ifndef TIMER_CLK_FREQ
#define TIMER_CLK_FREQ  (24000000)
#endif
int tick_isr(void);
int rt_hw_tick_init(void);

#endif