mppt/App/inc/mppt_control.h

33 lines
929 B
C
Raw Normal View History

2024-07-11 06:58:55 +00:00
/*
* mppt_control.h
*
* Created on: 2024<EFBFBD><EFBFBD>6<EFBFBD><EFBFBD>29<EFBFBD><EFBFBD>
* Author: psx
*/
#ifndef APP_INC_MPPT_CONTROL_H_
#define APP_INC_MPPT_CONTROL_H_
#include "debug.h"
#pragma pack(push,1)
typedef struct _SL_Mppt_para{
uint16_t Registration_Status; /* ע<><D7A2>״̬ */
uint8_t address[7]; /* <20><>ַ */
uint16_t Access_Node_Type; /* <20><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD> */
uint16_t Communication_Methods; /* ͨ<>ŷ<EFBFBD>ʽ */
uint16_t Battery_Voltage; /* <20><><EFBFBD>ص<EFBFBD>ѹ */
uint16_t Battery_temperature; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint16_t Remaining_Battery_Bower; /* <20><><EFBFBD><EFBFBD>ʣ<EFBFBD><CAA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
uint16_t Solar_Open_Circuit_Voltage1; /* ̫<><CCAB><EFBFBD>ܿ<EFBFBD>·<EFBFBD><C2B7>ѹ1 */
uint16_t Solar_Open_Circuit_Voltage2; /* ̫<><CCAB><EFBFBD>ܿ<EFBFBD>·<EFBFBD><C2B7>ѹ2 */
}SL_Mppt_para;
extern SL_Mppt_para g_Mppt_Para;
#pragma pack(pop)
void mppt_readJust(void);
2024-07-12 09:34:47 +00:00
void mppt_constantVoltage(float InVoltage);
2024-07-11 06:58:55 +00:00
void test(void);
#endif /* APP_INC_MPPT_CONTROL_H_ */