STM32Cube ADC injected channel TIM2 trig error in STM32F301C8
I'm using STM32F301C8microcontroller in my project. I use STM32Cube for init code generation.In ADC init part i configured injected channels to be externallytriggered from TIM2.
After code generation i tried to build the project in IAR but i got an error:
Error[Pe020]: identifier ''ADC_EXTERNALTRIGINJECCONV_T2_TRGO'' is undefined...
Isit caused from a STM32Cube error or doesn't STM32F301C8microcontrollers ADCs injected channels have a feature of beingexternally triggered from TIM2.
Regards;
Omer
#stm32cube