USB Host Driver with Socket Modem support. Works with revision 323 of mbed-src but broken with any later version.

Dependencies:   FATFileSystem

Fork of F401RE-USBHost by Norimasa Okamoto

Committer:
va009039
Date:
Tue Jun 10 13:38:41 2014 +0900
Revision:
13:8774c07f12a5
add USBHostC270

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 13:8774c07f12a5 1 // decodeNMEA.h 2012/12/15
va009039 13:8774c07f12a5 2 #ifndef DECODE_NMEA_H
va009039 13:8774c07f12a5 3 #define DECODE_NMEA_H
va009039 13:8774c07f12a5 4
va009039 13:8774c07f12a5 5 class decodeNMEA {
va009039 13:8774c07f12a5 6 public:
va009039 13:8774c07f12a5 7 decodeNMEA();
va009039 13:8774c07f12a5 8 void inputNMEA(char* buf, int len);
va009039 13:8774c07f12a5 9 void inputNMEA(char c);
va009039 13:8774c07f12a5 10 float lat,lon;
va009039 13:8774c07f12a5 11 time_t gprmc_t;
va009039 13:8774c07f12a5 12 time_t update_t;
va009039 13:8774c07f12a5 13
va009039 13:8774c07f12a5 14 private:
va009039 13:8774c07f12a5 15 void parse(int type, int row, char* buf);
va009039 13:8774c07f12a5 16 void update(int type, int row);
va009039 13:8774c07f12a5 17 int m_seq;
va009039 13:8774c07f12a5 18 int m_type;
va009039 13:8774c07f12a5 19 int m_row;
va009039 13:8774c07f12a5 20 uint8_t m_sum;
va009039 13:8774c07f12a5 21 char m_buf[12];
va009039 13:8774c07f12a5 22 int m_buf_pos;
va009039 13:8774c07f12a5 23 bool m_status;
va009039 13:8774c07f12a5 24 float tmp_lat,tmp_lon;
va009039 13:8774c07f12a5 25 struct tm tmp_timeinfo;
va009039 13:8774c07f12a5 26 };
va009039 13:8774c07f12a5 27
va009039 13:8774c07f12a5 28 #endif // DECODE_NMEA_H