clk.h 564 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2017-09-06 勤为本 first version
  9. *
  10. * Copyright (c) 2020, Du Huanpeng <548708880@qq.com>
  11. * base on bsp/ls1cdev/libraries/ls1c_clock.h
  12. */
  13. #ifndef __LOONGSON_CLK_H__
  14. #define __LOONGSON_CLK_H__
  15. unsigned long clk_get_pll_rate(void);
  16. unsigned long clk_get_cpu_rate(void);
  17. unsigned long clk_get_ddr_rate(void);
  18. unsigned long clk_get_apb_rate(void);
  19. unsigned long clk_get_dc_rate(void);
  20. #endif