brazos-trapezoidal
Files | Macros | Functions | Variables
System Setup

Files

file  system_nebo40_64.c
 Nebo system functions (example, to be adapted and bound to application source)
 

Macros

#define __SYSTEM_CLOCK   (40000000)
 

Functions

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...
 

Variables

uint32_t SystemCoreClock = __SYSTEM_CLOCK
 

Detailed Description

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.

Macro Definition Documentation

◆ __SYSTEM_CLOCK

#define __SYSTEM_CLOCK   (40000000)

Definition at line 47 of file system_nebo40_64.c.

Function Documentation

◆ __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
none
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  )

Definition at line 62 of file system_nebo40_64.c.

Variable Documentation

◆ SystemCoreClock

uint32_t SystemCoreClock = __SYSTEM_CLOCK

System Clock Frequency (Core Clock)

Definition at line 56 of file system_nebo40_64.c.