#ifndef SHAL_TIM_REG #define SHAL_TIM_REG #include "stm32f0xx.h" // Or your device header enum class S_TIM{ //Sample S_TIM_1 = 0xFFA0, S_TIM_2 = 0xFF, }; #endif