LWL/MDK-ARM/user/inc/gps2.h

350 lines
9.1 KiB
C
Raw Permalink Normal View History

2024-07-10 06:01:39 +00:00
/*
*<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*CRCУ<EFBFBD>Χ<EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>-CRCУ<EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
*<EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><EFBFBD>ȷ<EFBFBD><EFBFBD><EFBFBD>ԭ<EFBFBD><EFBFBD>
*ͨ<EFBFBD>Ų<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>9600<EFBFBD><EFBFBD>N<EFBFBD><EFBFBD>8<EFBFBD><EFBFBD>1
*Э<EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>BMS<EFBFBD>ĵ<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>£<EFBFBD><EFBFBD><EFBFBD>Χ1-254 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ĭ<EFBFBD><EFBFBD>ֵΪ0x01
*/
#ifndef __GPS2_H
#define __GPS2_H
#include "stm32f10x.h"
/*****************************************<2A><EFBFBD><EAB6A8>*************************************************/
#define GPSFRAME_HAND 0x7e //֡ͷ
#define GPSMOD_TYPE 0x0a //ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define GPSMOD_NUM 0x01 //ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define GPSCOMMOND_0x30 0x30 //<2F><>Ϣ<EFBFBD><CFA2>ѯ
#define GPSCOMMOND_0x40 0x40 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ
#define GPSCOMMOND_0x41 0x41 //<2F><><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD>
#define GPSCOMMOND_0x50 0x50 //<2F>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define GPSCOMMOND_0x51 0x51 //<2F><><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD>ַ
#define GPSCOMMOND_0x62 0x62 //<2F><><EFBFBD><EFBFBD>У׼
#define GPSCOMMOND_0x63 0x63 //<2F><>ȡUUID
#define GPSCOMMOND_0x22 0x22 //<2F><><EFBFBD>طŵ<D8B7>MOS<4F><53>
#define GPSCOMMOND_0x23 0x23 //<2F><><EFBFBD>س<EFBFBD><D8B3><EFBFBD>MOS<4F><53>
/*֡<><D6A1>ʽ*/
typedef struct
{
u8 Framehand; //֡ͷ
u8 ModeType; //ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 ModeNum; //ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 Len_L; //<2F><><EFBFBD>ij<EFBFBD><C4B3>ȵ<EFBFBD><C8B5>ֽ<EFBFBD> ֻ<><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 Len_H; //<2F><><EFBFBD>ij<EFBFBD><C4B3>ȸ<EFBFBD><C8B8>ֽ<EFBFBD>
u8 Commond; //<2F><><EFBFBD><EFBFBD>
u8 ModeWord; //ģ<><EFBFBD><E9B9A4>״̬ 0 ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD> 1-15ͨ<35><CDA8><EFBFBD><EFBFBD> 254<35><34><EFBFBD>ɾ<EFBFBD><C9BE><EFBFBD>
u8 Data[130]; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 CRC_L; //CRC<52><43><EFBFBD>ֽ<EFBFBD>
u8 CRC_H; //CRC<52><43><EFBFBD>ֽ<EFBFBD>
}data_Gps;
/*<2A><><EFBFBD><EFBFBD>GPS<50><53><EFBFBD><EFBFBD><EFBFBD>ݻ<EFBFBD><DDBB><EFBFBD>*/
typedef struct
{
u8 gps_Rev_startss; //<2F><><EFBFBD><EFBFBD>һ֡<D2BB><D6A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɱ<EFBFBD>־λ
u8 gps_Rev_bufss[100]; //<2F><><EFBFBD>ݻ<EFBFBD><DDBB><EFBFBD>
u16 gps_Rev_buftmpss; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}Rev_Gps;
/*<2A><><EFBFBD><EFBFBD>*/
typedef struct
{
union
{
u8 data[120];
struct //<2F>ֱ<EFBFBD><D6B1><EFBFBD>1mv δʹ<CEB4><CAB9><EFBFBD><EFBFBD>0xFFFF
{
u8 Singcellvol_1_l; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ1<D1B9><31><EFBFBD>ֽ<EFBFBD>
u8 Singcellvol_1_h; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ1<D1B9><31><EFBFBD>ֽ<EFBFBD>
u8 Singcellvol_2_l;
u8 Singcellvol_2_h;
u8 Singcellvol_3_l;
u8 Singcellvol_3_h;
u8 Singcellvol_4_l;
u8 Singcellvol_4_h;
u8 Singcellvol_5_l;
u8 Singcellvol_5_h;
u8 Singcellvol_6_l;
u8 Singcellvol_6_h;
u8 Singcellvol_7_l;
u8 Singcellvol_7_h;
u8 Singcellvol_8_l;
u8 Singcellvol_8_h;
u8 Singcellvol_9_l;
u8 Singcellvol_9_h;
u8 Singcellvol_10_l;
u8 Singcellvol_10_h;
u8 Singcellvol_11_l;
u8 Singcellvol_11_h;
u8 Singcellvol_12_l;
u8 Singcellvol_12_h;
u8 Singcellvol_13_l;
u8 Singcellvol_13_h;
u8 Singcellvol_14_l;
u8 Singcellvol_14_h;
u8 Singcellvol_15_l;
u8 Singcellvol_15_h;
u8 Singcellvol_16_l; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ16<31><36><EFBFBD>ֽ<EFBFBD>
u8 Singcellvol_16_h; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ16<31><36><EFBFBD>ֽ<EFBFBD>
u8 Singcellvol_17_l;
u8 Singcellvol_17_h;
u8 Singcellvol_18_l;
u8 Singcellvol_18_h;
u8 Singcellvol_19_l;
u8 Singcellvol_19_h;
u8 Singcellvol_20_l;
u8 Singcellvol_20_h;
u8 Singcellvol_21_l;
u8 Singcellvol_21_h;
u8 Singcellvol_22_l;
u8 Singcellvol_22_h;
u8 Singcellvol_23_l;
u8 Singcellvol_23_h;
u8 Singcellvol_24_l;
u8 Singcellvol_24_h;
u8 Singcellvol_25_l;
u8 Singcellvol_25_h;
u8 Singcellvol_26_l;
u8 Singcellvol_26_h;
u8 Singcellvol_27_l;
u8 Singcellvol_27_h;
u8 Singcellvol_28_l;
u8 Singcellvol_28_h;
u8 Singcellvol_29_l;
u8 Singcellvol_29_h;
u8 Singcellvol_30_l;
u8 Singcellvol_30_h;
u8 Singcellvol_31_l;
u8 Singcellvol_31_h;
u8 Singcellvol_32_l;
u8 Singcellvol_32_h; //64
u8 tmp_1_l; //<2F><EFBFBD>1<EFBFBD><31><EFBFBD>ֽ<EFBFBD> <20>ֱ<EFBFBD><D6B1>ʣ<EFBFBD>0.1<EFBFBD><EFBFBD> <20><>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>λΪ1 δʹ<CEB4>õ<EFBFBD><C3B5><EFBFBD>0x07d0
u8 tmp_1_h; //<2F><EFBFBD>1<EFBFBD><31><EFBFBD>ֽ<EFBFBD>
u8 tmp_2_l; //<2F><EFBFBD>2<EFBFBD><32><EFBFBD>ֽ<EFBFBD>
u8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FBD><D6B5><EFBFBD><EFBFBD>λΪ1 δʹ<CEB4>õ<EFBFBD><C3B5><EFBFBD>0x07d0
u8 mintmp_h; //<2F><><EFBFBD><EFBFBD><EFBFBD>¶ȸ<C2B6><C8B8>ֽ<EFBFBD>
u8 mintmpnum; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><C2B6><EFBFBD><EFBFBD><EFBFBD>
u8 Singmaxvol_l; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ֽ<EFBFBD> 1mv
u8 Singmaxvol_h; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ֽ<EFBFBD>
u8 Singminvol_l; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ֽ<EFBFBD> 1mv
u8 Singminvol_h; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ֽ<EFBFBD>
u8 SumVol_1; //<2F><><EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD>ѹ 1 1mv
u8 SumVol_2; //<2F><><EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD>ѹ 2
u8 SumVol_3; //<2F><><EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD>ѹ 3
u8 SumVol_4; //<2F><><EFBFBD><EFBFBD><EFBFBD>ܵ<EFBFBD>ѹ 4
u8 SumCurr_1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 1ma
u8 SumCurr_2; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2
u8 SumCurr_3; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 3
u8 SumCurr_4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 4
u8 eQl_l; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD> 0.1AH
u8 eQl_h; //<2F><EFBFBD><EEB6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 SOC_l; //SOC<4F><43><EFBFBD>ֽ<EFBFBD> 0.1%
u8 SOC_h; //SOC<4F><43><EFBFBD>ֽ<EFBFBD> 0.1%
u8 CellXHnum_l; //<2F><><EFBFBD><EFBFBD>ѭ<EFBFBD><D1AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 CellXHnum_h; //<2F><><EFBFBD><EFBFBD>ѭ<EFBFBD><D1AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 rjbb_l; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5>ֽ<EFBFBD>
u8 rjbb_h; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ÿ<EFBFBD><C5B8>ֽ<EFBFBD>
u8 cellnum_l; //<2F><><EFBFBD><EFBFBD>ϵ<EFBFBD>кŵ<D0BA><C5B5>ֽ<EFBFBD>
u8 cellnum_h; //<2F><><EFBFBD><EFBFBD>ϵ<EFBFBD>кŸ<D0BA><C5B8>ֽ<EFBFBD>
u8 BMSerro_1; //<2F><EFBFBD>֡<EFBFBD><D6A1><EFBFBD>1
u8 BMSerro_2; //<2F><EFBFBD>֡<EFBFBD><D6A1><EFBFBD>2
u8 BMSerro_3; //<2F><EFBFBD>֡<EFB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D><EFBFBD><EFBFBD>
u8 minsingnum; //<2F><><EFBFBD>͵<EFBFBD><CDB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 OutMOS; //<2F>ŵ<EFBFBD>MOS<4F><53>״̬
u8 ChgMOS; //<2F><><EFBFBD><EFBFBD>MOS<4F><53>״̬
}data_Query;
}data_Querysss; //<2F><>Ϣ<EFBFBD><CFA2>ѯ
union
{
u8 data[75];
struct //<2F>ֱ<EFBFBD><D6B1><EFBFBD>1mv δʹ<CEB4><CAB9><EFBFBD><EFBFBD>0xFFFF
{
u8 Overvol_l; //<2F><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޵<EFBFBD><DEB5>ֽ<EFBFBD> 1mv
u8 Overvol_h; //<2F><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸<EFBFBD><DEB8>ֽ<EFBFBD>
u8 Overvoltime; //<2F><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ s
u8 Qvol_l; //Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޵͵<DEB5>ѹ 1mv
u8 Qvol_h; //Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ߵ<DEB8>ѹ
u8 Qvoltime; //Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
u8 JHON_Vol_l; //<2F><><EFBFBD><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ֽ<EFBFBD>
u8 JHON_Vol_h; //<2F><><EFBFBD><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ֽ<EFBFBD>
u8 JHON_yc_l; //<2F><><EFBFBD><EFBFBD><E2BFAA>ѹ<EFBFBD><D1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D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ֽ<EFBFBD>
u8 ChgGcurr; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
u8 AFE1; //AFE1<45><31><EFBFBD><EFBFBD>
u8 AFE2; //AFE2<45><32><EFBFBD><EFBFBD>
u8 celltype; //<2F><>о<EFBFBD><D0BE><EFBFBD><EFBFBD>
u8 MOSCtmp_l; //MOS<4F><53><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD> 0.1<EFBFBD><EFBFBD>
u8 MOSCtmp_h; //MOS<4F><53><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 MOSCHtmp_l; //MOS<4F><53><EFBFBD>»ָ<C2BB><D6B8><EFBFBD><EFBFBD>ֽ<EFBFBD> 0.1<EFBFBD><EFBFBD>
u8 MOSCHtmp_h; //MOS<4F><53><EFBFBD>»ָ<C2BB><D6B8><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 LDcurr_l; //©<><C2A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 LDcurr_h; //©<><C2A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD>
u8 SleepLDcurr_l; //˯<><CBAF>©<EFBFBD><C2A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD> MA
u8 SleepLDcurr_h; //˯<><CBAF>©<EFBFBD><C2A9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD> MA
}data_RevWrite;
}data_RevWritesss; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡд<C8A1><D0B4>
struct
{
u8 addrdata; //ģ<><C4A3><EFBFBD><EFBFBD>ַ
}Addr;
struct
{
u8 step; //0Ϊ<30><CEAA><EFBFBD><EFBFBD>У׼ 4Ϊ<34><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƫУ׼
u32 currjzz; //У׼ֵ ma
}CurrJZ; //<2F><><EFBFBD><EFBFBD>У׼
struct
{
u8 uuid[12];
}UUID; //UUID
}gpss_datas;
/*<2A><><EFBFBD><EFBFBD>ȫ<EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD>*/
extern Rev_Gps Rev_GpsUsart1; //<2F><><EFBFBD>մ<EFBFBD><D5B4><EFBFBD><EFBFBD>´<EFBFBD><C2B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
extern gpss_datas gps_datas; //GPS<50><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
extern unsigned char UUID[12];
#endif