Ahmed_PFE_Embarq_300415
Dependencies: C12832 LM75B mbed
Fork of Ahmed_Embarq_Prog by
_GPS/Dec_GPS.h@1:197b9fed6092, 2015-04-30 (annotated)
- Committer:
- pfe
- Date:
- Thu Apr 30 12:24:33 2015 +0000
- Revision:
- 1:197b9fed6092
Ahmed_PFE_Embarq_300415
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pfe | 1:197b9fed6092 | 1 | #ifndef Dec_GPS_H |
pfe | 1:197b9fed6092 | 2 | |
pfe | 1:197b9fed6092 | 3 | #define Dec_GPS_H |
pfe | 1:197b9fed6092 | 4 | |
pfe | 1:197b9fed6092 | 5 | typedef struct { |
pfe | 1:197b9fed6092 | 6 | unsigned char GGA_Valid; |
pfe | 1:197b9fed6092 | 7 | unsigned char Qual; |
pfe | 1:197b9fed6092 | 8 | unsigned char hh; |
pfe | 1:197b9fed6092 | 9 | unsigned char mm; |
pfe | 1:197b9fed6092 | 10 | unsigned char ss; |
pfe | 1:197b9fed6092 | 11 | signed long LatDeg; |
pfe | 1:197b9fed6092 | 12 | signed long LonDeg; |
pfe | 1:197b9fed6092 | 13 | signed long HMSL; |
pfe | 1:197b9fed6092 | 14 | |
pfe | 1:197b9fed6092 | 15 | }StructGPS; |
pfe | 1:197b9fed6092 | 16 | |
pfe | 1:197b9fed6092 | 17 | unsigned char Get_Length(unsigned short index); |
pfe | 1:197b9fed6092 | 18 | void Set_Data(unsigned char index); |
pfe | 1:197b9fed6092 | 19 | void Validation_StrToFloat(unsigned char LongData); |
pfe | 1:197b9fed6092 | 20 | void DecodageGPGGA(unsigned char *_MsgGPSRx,unsigned char Ldata,StructGPS *GpsData); |
pfe | 1:197b9fed6092 | 21 | |
pfe | 1:197b9fed6092 | 22 | #endif |
pfe | 1:197b9fed6092 | 23 | |
pfe | 1:197b9fed6092 | 24 | //------------------------------------------------------------------------------ |
pfe | 1:197b9fed6092 | 25 | |
pfe | 1:197b9fed6092 | 26 | //------------------------------------------------------------------------------ |