ME 507 Romi++
Cylindrical Differential Drive Robot created for ME 507 at Cal Poly in Spring 2025
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

TIM5 GPIO Configuration PA0-WKUP ------> TIM5_CH1 PA1 ------> TIM5_CH2