|
| file | system_nebo40_64.c |
| | Nebo system functions (example, to be adapted and bound to application source)
|
| |
|
| void | SystemCoreClockUpdate (void) |
| |
| unsigned int | __attribute ((weak)) |
| | Setup the microcontroller system. Initialize the System. This function checks whether the MCU has initialized after a power on reset or has exited a low power mode (shutdown). More...
|
| |
The functions in this section setup the microcontroller in a known state before a call is made to the main application. The microcontroller is setup to operate with the internal high speed oscillator operating at 20Mz. The differentiation between a cold start (Power ON reset) and a warm start (reset due to low power mode exit) is done in the function SystemInit.
◆ __SYSTEM_CLOCK
| #define __SYSTEM_CLOCK (40000000) |
◆ __attribute()
| unsigned int __attribute |
( |
(weak) |
| ) |
|
Setup the microcontroller system. Initialize the System. This function checks whether the MCU has initialized after a power on reset or has exited a low power mode (shutdown).
Initialize the system
- Parameters
-
- Returns
- unsigned int - 1 indicates an exit from a low power mode (shutdown)
- 0 indicates that microcontroller is initialized because of a reset.
Definition at line 87 of file system_nebo40_64.c.
◆ SystemCoreClockUpdate()
| void SystemCoreClockUpdate |
( |
void |
| ) |
|
◆ SystemCoreClock
| uint32_t SystemCoreClock = __SYSTEM_CLOCK |