39 lines
400 B
C
39 lines
400 B
C
#ifndef __MONITOR_TASK_H__
|
|
#define __MONITOR_TASK_H__
|
|
|
|
#include "stm32g4xx_hal.h"
|
|
|
|
#include "FreeRTOS.h"
|
|
|
|
#include "cmsis_os.h"
|
|
|
|
#include "main.h"
|
|
#include "rtwtypes.h"
|
|
|
|
|
|
extern uint32_T mode;
|
|
extern int32_T bat_type;
|
|
extern int32_T bat_num;
|
|
extern int32_T run_state;
|
|
extern real32_T cmd_current;
|
|
extern real32_T bat_capacity;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern uint32_t NormalTestMode;//0 normal 1 test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|