BME280 Driver 2.0.x
Driver for BME280 sensor
Loading...
Searching...
No Matches
main.c File Reference

: Main program body More...

#include "main.h"
#include "cmsis_os.h"
#include "spi.h"
#include "gpio.h"
Include dependency graph for main.c:

Functions

void SystemClock_Config (void)
 System Clock Configuration.
 
void MX_FREERTOS_Init (void)
 FreeRTOS initialization.
 
int main (void)
 The application entry point.
 
void HAL_TIM_PeriodElapsedCallback (TIM_HandleTypeDef *htim)
 Period elapsed callback in non blocking mode.
 
void Error_Handler (void)
 This function is executed in case of error occurrence.
 

Detailed Description

: Main program body

Attention

Copyright (c) 2023 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

◆ HAL_TIM_PeriodElapsedCallback()

void HAL_TIM_PeriodElapsedCallback ( TIM_HandleTypeDef *  htim)

Period elapsed callback in non blocking mode.

Note
This function is called when TIM6 interrupt took place, inside HAL_TIM_IRQHandler(). It makes a direct call to HAL_IncTick() to increment a global variable "uwTick" used as application time base.
Parameters
htim: TIM handle
Return values
None

◆ main()

int main ( void  )

The application entry point.

Return values
int
Here is the call graph for this function:

◆ 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 LSE Drive Capability

Configure the main internal regulator output voltage

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

Activate the Over-Drive mode

Initializes the CPU, AHB and APB buses clocks

Here is the call graph for this function: