Skip to main content
Associate II
September 6, 2023
Question

Iam getting below error how to solve

unknown type name 'TIM_TimeBaseInitTypeDef'

31 | TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;

This topic has been closed for replies.

1 reply

Issamos
Super User
September 6, 2023

Hello @Girish1 

I think you should include the appropriate header file(stm32hxxx_hal_tim.h) that define the TIM_TimeBaseInitTypeDef .

Best regards.

II