Basic_Frame_TypeC_2023_Omni
Loading...
Searching...
No Matches
main.c File Reference

: Main program body More...

#include "main.h"
#include "can.h"
#include "cmsis_os.h"
#include "dma.h"
#include "gpio.h"
#include "i2c.h"
#include "spi.h"
#include "tim.h"
#include "usart.h"

Functions

void SystemClock_Config (void)
 System Clock Configuration.
void MX_FREERTOS_Init (void)
 FreeRTOS initialization.
int main (void)
 The application entry point.
void Error_Handler (void)
 This function is executed in case of error occurrence.

Detailed Description

: Main program body

Attention

Copyright (c) 2025 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Function Documentation

◆ Error_Handler()

void Error_Handler ( void )

This function is executed in case of error occurrence.

Return values
None

◆ main()

int main ( void )

The application entry point.

Return values
int

◆ MX_FREERTOS_Init()

void MX_FREERTOS_Init ( void )

FreeRTOS initialization.

Parameters
None
Return values
None

◆ SystemClock_Config()

void SystemClock_Config ( void )

System Clock Configuration.

Return values
None

Configure the main internal regulator output voltage

Initializes the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef structure.

Initializes the CPU, AHB and APB buses clocks