GPIO Alternate Mode Pull Up & Pull Down Function
I tried to solve the questions that occurred during the development of STM32 L4 Series through Googling, but I couldn't find anything related, so I'm leaving a post.
I understand that even if the built-in Pull Up or Pull Down circuit is enabled, there is no floating state in the output mode, so Pull Up and Pull Down do not affect the state of the pin.
(Because of P-N MOSFET Circuit Structure. See figure below)

However, when using alternative function output mode, the initial state of pin remains high or low according to the pull up or pull down setting until start the alternative function's output.
(For example, using PWM Output Timer & call the HAL_TIM_PWM_Start() not yet.)
So I wonder why pull up & pull down operates differently from output mode, even though the same output controller and P-N MOSFET circuit structure are used in alternative function mode.
Thanks.
