#ifndef __TIMER_H #define __TIMER_H #include "tim.h" #include "stdbool.h" extern bool Start_80_hz, Start_10_hz, Start_5_hz, Start_1_hz; void delay_us(uint16_t us); void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim); #endif