Read Mastering STM32 by Carmine Noviello, Read from chapter 6 GPIO Management 6.1 STM32 Peripherals Mapping and HAL Handlers. Specifically read about the section of Exposure of bus architecture of an stm32F072 microcontroller.