blob: 3a73da861c53a502f1c6d71e2ac2a8a59d3afa85 (
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) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017-09-06 勤为本 first version
*
* Copyright (c) 2020, Du Huanpeng <[email protected]>
* base on bsp/ls1cdev/libraries/ls1c_clock.h
*/
#ifndef __LOONGSON_CLK_H__
#define __LOONGSON_CLK_H__
unsigned long clk_get_pll_rate(void);
unsigned long clk_get_cpu_rate(void);
unsigned long clk_get_ddr_rate(void);
unsigned long clk_get_apb_rate(void);
unsigned long clk_get_dc_rate(void);
#endif
|