STM32 study notes (register version