Is there mistake in datasheet?
My fellow student says TIM12 has 2 channels and PH9 is configured for TIM12 channel 2 as per the below datasheet.
https://www.st.com/resource/en/datasheet/stm32h743vi.pdf
Now I argue that the tim12 channel 2 is configured to PB15.
And he stupidly configured this way.
"""
GPIO_InitStruct.gpio_port = GPIOH;
GPIO_InitStruct.configure.Pin = GPIO_PIN_9;
GPIO_InitStruct.configure.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.configure.Pull = GPIO_NOPULL;
GPIO_InitStruct.configure.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.configure.Alternate = GPIO_AF2_TIM12;
"""
Who is right and who is wrong? is PH9 (my friends) or PB15 correct?