![]() |
Mini51 BSP
V3.02.002
The Board Support Package for Mini51 Series
|
Mini51 series system clock init code and assert handler. More...
Go to the source code of this file.
Functions | |
| void | SystemCoreClockUpdate (void) |
| This function is used to update the variable SystemCoreClock and must be called whenever the core clock is changed. More... | |
Variables | |
| uint32_t | SystemCoreClock = __HSI |
| uint32_t | CyclesPerUs = (__HSI / 1000000) |
Mini51 series system clock init code and assert handler.
Definition in file system_Mini51Series.c.
| void SystemCoreClockUpdate | ( | void | ) |
This function is used to update the variable SystemCoreClock and must be called whenever the core clock is changed.
Updates the SystemCoreClock with current core Clock retrieved from CPU registers.
| None. |
| None. |
Definition at line 31 of file system_Mini51Series.c.
| uint32_t CyclesPerUs = (__HSI / 1000000) |
Cycles per micro second
Definition at line 21 of file system_Mini51Series.c.
| uint32_t SystemCoreClock = __HSI |
System Clock Frequency (Core Clock)
Definition at line 20 of file system_Mini51Series.c.
1.8.15