What Actually Happens When You Call HAL_GPIO_WritePin()?

A beginner-friendly investigation into how a single STM32 HAL function travels from your application code to the GPIO hardware, revealing…