cancel
Showing results for 
Search instead for 
Did you mean: 

Mistake in stm32f30x_gpio.h - V1.2.3

airanzo
Associate II
Posted on October 20, 2016 at 12:57

Hello,

there�s a mistake in the line 270

&sharpdefine GPIO_AF_2            ((uint8_t)0x02) /* COMP1_OUT, TIM1, TIM2, TIM3, TIM4, TIM8, TIM15, TIM16 */

The

GPIO_AF_2

is NOT working for the TIM2, at least in the stm32f303VCTx

regards,

#bug-standard-library
1 REPLY 1
slimen
Senior
Posted on October 20, 2016 at 13:26

Hello, 

Refer to the

http://www.st.com/content/ccc/resource/technical/document/datasheet/f2/1f/e1/41/ef/59/4d/50/DM00058181.pdf/files/DM00058181.pdf/jcr:content/translations/en.DM00058181.pdf

 page 49 (Table 17. Alternate functions for port D) it is mentioned that TIM2 is defined and worked for AF2.

Regards