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

This file provides code for the configuration of the TIM instances. More...

#include "tim.h"

Functions

void MX_TIM1_Init (void)
void MX_TIM4_Init (void)
void MX_TIM5_Init (void)
void MX_TIM8_Init (void)
void MX_TIM10_Init (void)
void MX_TIM13_Init (void)
void HAL_TIM_PWM_MspInit (TIM_HandleTypeDef *tim_pwmHandle)
void HAL_TIM_Base_MspInit (TIM_HandleTypeDef *tim_baseHandle)
void HAL_TIM_MspPostInit (TIM_HandleTypeDef *timHandle)
void HAL_TIM_PWM_MspDeInit (TIM_HandleTypeDef *tim_pwmHandle)
void HAL_TIM_Base_MspDeInit (TIM_HandleTypeDef *tim_baseHandle)

Variables

TIM_HandleTypeDef htim1
TIM_HandleTypeDef htim4
TIM_HandleTypeDef htim5
TIM_HandleTypeDef htim8
TIM_HandleTypeDef htim10
TIM_HandleTypeDef htim13

Detailed Description

This file provides code for the configuration of the TIM instances.

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

◆ HAL_TIM_Base_MspDeInit()

void HAL_TIM_Base_MspDeInit ( TIM_HandleTypeDef * tim_baseHandle)

Uncomment the line below to disable the "TIM8_UP_TIM13_IRQn" interrupt Be aware, disabling shared interrupt may affect other IPs

◆ HAL_TIM_MspPostInit()

void HAL_TIM_MspPostInit ( TIM_HandleTypeDef * timHandle)

TIM1 GPIO Configuration PE9 ------> TIM1_CH1

TIM4 GPIO Configuration PD14 ------> TIM4_CH3

TIM5 GPIO Configuration PH12 ------> TIM5_CH3 PH11 ------> TIM5_CH2 PH10 ------> TIM5_CH1

TIM8 GPIO Configuration PI6 ------> TIM8_CH2

TIM10 GPIO Configuration PF6 ------> TIM10_CH1

◆ HAL_TIM_PWM_MspDeInit()

void HAL_TIM_PWM_MspDeInit ( TIM_HandleTypeDef * tim_pwmHandle)

Uncomment the line below to disable the "TIM8_UP_TIM13_IRQn" interrupt Be aware, disabling shared interrupt may affect other IPs