rt-thread/bsp/ls1cdev/libraries/ls1c_clock.h

52 lines
639 B
C
Raw Normal View History

/*************************************************************************
*
* ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
*
*************************************************************************/
#ifndef __OPENLOONGSON_CLOCK_H
#define __OPENLOONGSON_CLOCK_H
/*
* <EFBFBD><EFBFBD>ȡPLLƵ<EFBFBD><EFBFBD>
* @ret PLLƵ<EFBFBD><EFBFBD>
*/
unsigned long clk_get_pll_rate(void);
/*
* <EFBFBD><EFBFBD>ȡCPUƵ<EFBFBD><EFBFBD>
* @ret CPUƵ<EFBFBD><EFBFBD>
*/
unsigned long clk_get_cpu_rate(void);
/*
* <EFBFBD><EFBFBD>ȡDDRƵ<EFBFBD><EFBFBD>
* @ret DDRƵ<EFBFBD><EFBFBD>
*/
unsigned long clk_get_ddr_rate(void);
/*
* <EFBFBD><EFBFBD>ȡAPBƵ<EFBFBD><EFBFBD>
* @ret APBƵ<EFBFBD><EFBFBD>
*/
unsigned long clk_get_apb_rate(void);
/*
* <EFBFBD><EFBFBD>ȡDCƵ<EFBFBD><EFBFBD>
* @ret DCƵ<EFBFBD><EFBFBD>
*/
unsigned long clk_get_dc_rate(void);
#endif