#ifndef SYSTEM_SETTINGS_H_ #define SYSTEM_SETTINGS_H_ #include "stm8s.h" #define MAX_GLOBAL_TIMING_COUNT ((uint32_t)(0x9A7EC800)) // 2,592,000,000 (30 days) #define INTERVAL_1MS ((uint16_t)(1U)) #define INTERVAL_100MS ((uint16_t)(100U)) #define INTERVAL_1000MS ((uint16_t)(1000U)) #define MAX_TASK_NUMBERS ((uint8_t)(2U)) // Number of tasks running extern uint8_t Flag_1MS; extern uint32_t Global_Timing_Counter; #endif /* SYSTEM_SETTINGS_H_ */