System.h File Reference

STM32F103C8T6 system initialisation. More...

#include "stm32f1xx_hal.h"
Include dependency graph for System.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LED_Pin   GPIO_PIN_13
 LED pin.
 
#define LED_GPIO_Port   GPIOC
 LED GPIO port.
 

Functions

int System_Init (void)
 System Initialisation Function. More...
 

Detailed Description

STM32F103C8T6 system initialisation.

Definition in file System.h.

Function Documentation

◆ System_Init()

int System_Init ( void  )

System Initialisation Function.

Returns
Error code
Return values
0OK
-1Error

Initialises the CPU, AHB and APB busses clocks

Definition at line 82 of file System.c.

Here is the call graph for this function:
Here is the caller graph for this function: