Add timer driver. Change stm32f10x_lib.h to stm32f10x.h