论坛元老
 
- 积分
- 3324
- 金钱
- 3324
- 注册时间
- 2016-1-7
- 在线时间
- 545 小时
|

楼主 |
发表于 2018-3-27 23:43:45
|
显示全部楼层
原子哥f407的配制:
#if defined (STM32F40_41xxx)
uint32_t SystemCoreClock = 168000000; //SystemCoreClock=168M
#endif /* STM32F40_41xxx */
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */ //8M
#endif /* HSE_VALUE */
#if !defined (HSI_VALUE)
#define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/ //16M
#endif /* HSI_VALUE */
怎么这么多频率设置?上面是内核的,中间应该是外部晶振的8M,下面是HSI的16M,不知还有没有其它的?到底以哪一个为主呢? |
|