stm32f1x: use register base instead of register offset