ZNY_Pakistan/Anjiehui7_ZNY/User/drv_gps.h

37 lines
992 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
*********************************************************************************************************
* 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