Демонстрационная прошивка отладочного комплекта МТС NB-IoT
|
Функции | |
void | SystemInit (void) |
Setup the microcontroller system. Initialize the Embedded Flash Interface, the PLL and update the SystemCoreClock variable. Подробнее... | |
void | SystemCoreClockUpdate (void) |
Update SystemCoreClock according to Clock Register Values The SystemCoreClock variable contains the core clock (HCLK), it can be used by the user application to setup the SysTick timer or configure other parameters. Подробнее... | |
void SystemCoreClockUpdate | ( | void | ) |
Update SystemCoreClock according to Clock Register Values The SystemCoreClock variable contains the core clock (HCLK), it can be used by the user application to setup the SysTick timer or configure other parameters.
(*) HSI_VALUE is a constant defined in stm32l1xx.h file (default value 16 MHz) but the real value may vary depending on the variations in voltage and temperature.
(**) HSE_VALUE is a constant defined in stm32l1xx.h file (default value 8 MHz), user has to ensure that HSE_VALUE is same as the real frequency of the crystal used. Otherwise, this function may have wrong result.
None |
None |
См. определение в файле system_stm32l1xx.c строка 238
void SystemInit | ( | void | ) |
Setup the microcontroller system. Initialize the Embedded Flash Interface, the PLL and update the SystemCoreClock variable.
None |
None |
< Set MSION bit
< Reset SW[1:0], HPRE[3:0], PPRE1[2:0], PPRE2[2:0], MCOSEL[2:0] and MCOPRE[2:0] bits
< Reset HSION, HSEON, CSSON and PLLON bits
< Reset HSEBYP bit
< Reset PLLSRC, PLLMUL[3:0] and PLLDIV[1:0] bits
< Disable all interrupts
См. определение в файле system_stm32l1xx.c строка 170