I'm writing drivers for the STM32's peripherals straight from the reference manual, without ST's HAL. I want to understand what the HAL normally handles for you: how each peripheral is clocked, configured and driven through its memory-mapped registers.