4662| 3
|
大家有没有用过外部晶振的例程啊?搞了半天,头晕了 |
5金钱
最佳答案void utInitCpuClk(void)
{
ErrorStatus HSEStartUpStatus;
/* RCC system reset(for debug purpose) */
RCC_DeInit();
#if 1 //外部硬件晶振
/* Enable HSE */
RCC_HSEConfig(RCC_HSE_ON);
/* Wait till HSE is ready */
HSEStartUpStatus = RCC_WaitForHSEStartUp();
if(HSEStartUpStatus  ...
| ||
爱我所爱!
|
||
| ||
| ||
| ||
爱我所爱!
|
||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-7-8 02:37
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网