42 lines
385 B
C
42 lines
385 B
C
#ifndef __DEVICE_TASK_H__
|
|
#define __DEVICE_TASK_H__
|
|
|
|
#include "stm32g4xx_hal.h"
|
|
|
|
#include "FreeRTOS.h"
|
|
|
|
#include "cmsis_os.h"
|
|
|
|
#include "main.h"
|
|
|
|
|
|
|
|
extern double voltage_pwr;
|
|
extern double voltage_buck_in;
|
|
extern double voltage_buck_out;
|
|
extern double voltage_bat;
|
|
extern double voltage_current;
|
|
extern double voltage_temp;
|
|
|
|
extern double voltage_bat_sv[24];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|