Question
Select System Clock SYSCLK in system_stm32f10x.c
Posted on July 05, 2011 at 23:43
Hi All,
I do not understand
the process of
frequency selection
HSE
in the following lines
:
# if defined (STM32F10X_LD_VL
) | |
(defined
STM32F10X_MD_VL
)
/ *
#Define
SYSCLK_FREQ_HSE
HSE_Value
* /
#define
SYSCLK_FREQ_24MHz
24000000
#else
I understand after reset, HSI clock source is selected but#Define
SYSCLK_FREQ_HSE
HSE_Value
> will select external 8MHz crystal and#define
SYSCLK_FREQ_24MHz
24000000
> will select wich system clock source HSI or HSE ? Thank for help. Romain