This repo contains code that I've written as part of a bare metal programming guide.
Guide Repo: https://github.com/cpq/bare-metal-programming-guide
Creating these gave me an overall better understanding of the hardware in an STM32 uC as well as the register level configuration that vendor HALs abstract away.
The code is made for an STM32F411RE