#include "stm32f10x.h" extern void configEncoder(TIM_TypeDef * Timer); extern void configChannel(); extern int returnAngle (TIM_TypeDef * Timer);