|
Digilog Console Firmware
|
: Main program body More...
#include "main.h"#include "cmsis_os.h"#include <stdio.h>#include "cmsis_os2.h"#include "led_driver.h"Functions | |
| void | SystemClock_Config (void) |
| System Clock Configuration. | |
| void | StartDefaultTask (void *argument) |
| Function implementing the defaultTask thread. | |
| 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. | |
Variables | |
| ADC_HandleTypeDef | hadc1 |
| I2C_HandleTypeDef | hi2c1 |
| I2C_HandleTypeDef | hi2c2 |
| I2C_HandleTypeDef | hi2c3 |
| I2C_HandleTypeDef | hi2c4 |
| SPI_HandleTypeDef | hspi1 |
| SPI_HandleTypeDef | hspi2 |
| SPI_HandleTypeDef | hspi3 |
| TIM_HandleTypeDef | htim1 |
| TIM_HandleTypeDef | htim2 |
| TIM_HandleTypeDef | htim3 |
| osThreadId_t | defaultTaskHandle |
| const osThreadAttr_t | defaultTask_attributes |
: Main program body
Copyright (c) 2026 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.
| void Error_Handler | ( | void | ) |
This function is executed in case of error occurrence.
| None |
| void HAL_TIM_PeriodElapsedCallback | ( | TIM_HandleTypeDef * | htim | ) |
Period elapsed callback in non blocking mode.
| htim | : TIM handle |
| None |
| int main | ( | void | ) |
The application entry point.
| int |
| void StartDefaultTask | ( | void * | argument | ) |
Function implementing the defaultTask thread.
| argument | Not used |
| None |
| void SystemClock_Config | ( | void | ) |
System Clock Configuration.
| 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
| const osThreadAttr_t defaultTask_attributes |