Stm32f103 module initialization code