Zap'Em Blast'Em Robots
robots that play laser tag!
Loading...
Searching...
No Matches
main.h File Reference

: Header for main.c file. This file contains the common defines of the application. More...

#include "stm32f4xx_hal.h"

Go to the source code of this file.

Functions

void HAL_TIM_MspPostInit (TIM_HandleTypeDef *htim)
void Error_Handler (void)
 This function is executed in case of error occurrence.

Detailed Description

: Header for main.c file. This file contains the common defines of the application.

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

◆ HAL_TIM_MspPostInit()

void HAL_TIM_MspPostInit ( TIM_HandleTypeDef * htim)

TIM1 GPIO Configuration PA8 ------> TIM1_CH1 PA9 ------> TIM1_CH2 PA10 ------> TIM1_CH3 PA11 ------> TIM1_CH4

TIM2 GPIO Configuration PA15 ------> TIM2_CH1

TIM4 GPIO Configuration PB6 ------> TIM4_CH1 PB7 ------> TIM4_CH2