GPS.h 689 B

123456789101112131415161718192021222324
  1. /**********************************************************************************
  2. *Modem.h
  3. *
  4. ***********************************************************************************/
  5. #ifndef __GPS_H
  6. #define __GPS_H
  7. /***********************************************************************************/
  8. #define GPS_PWREN_PIN GPIO_Pin_9
  9. #define GPS_PWREN_PORT GPIOC
  10. #define GPS_PWREN_HIGH GPS_PWREN_PORT->BRR = GPS_PWREN_PIN
  11. #define GPS_PWREN_LOW GPS_PWREN_PORT->BSRR = GPS_PWREN_PIN
  12. char* GPSGetGPRMC(char *msg);
  13. #define GPS_DATA_SOCKET 1 //GPSÒµÎñʹÓõÄÄ£¿ésocketºÅ
  14. int GPSInit(void);
  15. #endif
  16. /***********************************************************************************/