M3 simple routines (IO, EXTI, TIM1....)