GPS.h 628 B

12345678910111213141516171819202122
  1. /**********************************************************************************
  2. *Modem.h
  3. *
  4. ***********************************************************************************/
  5. #ifndef __GPS_H
  6. #define __GPS_H
  7. /***********************************************************************************/
  8. #define GPS_PWREN_PIN GPIO_Pin_8
  9. #define GPS_PWREN_PORT GPIOA
  10. #define GPS_PWREN_HIGH GPS_PWREN_PORT->BSRR = GPS_PWREN_PIN
  11. #define GPS_PWREN_LOW GPS_PWREN_PORT->BRR = GPS_PWREN_PIN
  12. char* GPSGetGPRMC(char *msg);
  13. int GPSInit(void);
  14. #endif
  15. /***********************************************************************************/