#ifndef bexus_modes_h #define bexus_modes_h #ifdef __cplusplus extern "C" { #endif /**----------------Includes-----------------------------*/ #include //#include "cmsis_os.h" #include "main.h" /**-----------------------------------------------------*/ #define MODE_SINGLE 1 #define MODE_NORMAL 2 #define MODE_DEBUG 3 /**----------------variables---------------------------*/ extern short Debug; extern short isMaster; extern short mode_select; extern short heartbeat; extern short new_data_received; extern uint32_t timer_normal_mode[2]; /**-----------------------------------------------------*/ /**------------------functions--------------------------*/ void Mode_Select(void); /**-----------------------------------------------------*/ #ifdef __cplusplus } #endif #endif