/********************************************************************************** *Modem.h * ***********************************************************************************/ #ifndef __GPS_H #define __GPS_H /***********************************************************************************/ #define GPS_PWREN_PIN GPIO_Pin_8 #define GPS_PWREN_PORT GPIOA #define GPS_PWREN_HIGH GPS_PWREN_PORT->BSRR = GPS_PWREN_PIN #define GPS_PWREN_LOW GPS_PWREN_PORT->BRR = GPS_PWREN_PIN char* GPSGetGPRMC(char *msg); int GPSInit(void); #endif /***********************************************************************************/