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.
22 lines
525 B
22 lines
525 B
/*
|
|
* 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;
|
|
}
|
|
|