37 lines
992 B
C
37 lines
992 B
C
/*
|
||
*********************************************************************************************************
|
||
* IAR Development Kits
|
||
* on the
|
||
*
|
||
* M451
|
||
*
|
||
* Filename : drv_gps.h
|
||
* Version : V1.00
|
||
* Programmer(s) : Qian Xianghong
|
||
*********************************************************************************************************
|
||
*/
|
||
|
||
#ifndef USER_DRV_GPS_PRESENT
|
||
#define USER_DRV_GPS_PRESENT
|
||
|
||
#include "type.h"
|
||
|
||
// GPS开启计时
|
||
extern volatile uint32_t DTU_gpsTime;
|
||
|
||
// 是否需要检查并重启GPS
|
||
extern uint8_t DTU_needCheckGPS;
|
||
|
||
// **************** 上传GPS调试信息 ********************
|
||
// GPS闪断次数:取值为0~599循环计数
|
||
extern uint16_t GPS_BOD_COUNT;
|
||
// *****************************************************
|
||
|
||
uint32_t DTU_EnableGPS();
|
||
void DTU_DisableGPS();
|
||
void DTU_CheckGPS();
|
||
|
||
uint8_t parse_frame(uint8_t *bufIdx, char *message, data_dtu_t *sample);
|
||
|
||
#endif
|