Stm32f407 firmware library function