123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- #ifndef __L76_H__
- #define __L76_H__
- #include <stdint.h>
- typedef enum
- {
- OFF = 0,
- ON
- } SwitchStatus;
- typedef struct
- {
- uint32_t latitude_bd;
- uint8_t nshemi_bd;
- uint32_t longitude_bd;
- uint8_t ewhemi_bd;
- }gps_msg;
- typedef struct
- {
- float Longitude;
- float Latitude;
- } L76Data;
- void BoardInit(void);
- void L76ReadData(L76Data *ReadData);
- void BeepStatusSet(SwitchStatus status);
- void LedWarnStatusSet(SwitchStatus status);
- #endif
|