12345678910111213141516171819202122232425262728293031323334 |
- #ifndef bexus_modes_h
- #define bexus_modes_h
- #ifdef __cplusplus
- extern "C" {
- #endif
- /**----------------Includes-----------------------------*/
- #include <stdbool.h>
- //#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
|