47 lines
471 B
C
47 lines
471 B
C
#ifndef __DRV_CONTROL_IF_H__
|
|
#define __DRV_CONTROL_IF_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct s_sens {
|
|
|
|
double power_voltage;
|
|
double buck_in_voltage;
|
|
double buck_out_voltage;
|
|
double battery_voltage;
|
|
double battery_current;
|
|
|
|
double temperatue;
|
|
|
|
|
|
|
|
}SENS_t;
|
|
|
|
/*
|
|
typedef struct s_control {
|
|
|
|
uint16_t buck_in_relay;
|
|
uint16_t buck_out_relay;
|
|
uint16_t fan;
|
|
|
|
uint16_t power_pwm;
|
|
|
|
|
|
|
|
}CONTROL_t;
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|