You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
525 B
23 lines
525 B
5 months ago
|
/*
|
||
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2017-5-30 Bernard the first version
|
||
|
*/
|
||
|
|
||
|
#include "rtthread.h"
|
||
|
#include "drv_clock.h"
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
rt_kprintf("periph_get_pll_clk:%d\n", periph_get_pll_clk());
|
||
|
rt_kprintf("cpu_get_clk:%d\n", cpu_get_clk());
|
||
|
rt_kprintf("ahb_get_clk:%d\n", ahb_get_clk());
|
||
|
rt_kprintf("apb_get_clk:%d\n", apb_get_clk());
|
||
|
|
||
|
return 0;
|
||
|
}
|