Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbos Watchdog TextLCD mbed ConfigFile
time.h
00001 /* 00002 * 00003 * NMEA library 00004 * URL: http://nmea.sourceforge.net 00005 * Author: Tim (xtimor@gmail.com) 00006 * Licence: http://www.gnu.org/licenses/lgpl.html 00007 * $Id: time.h 4 2007-08-27 13:11:03Z xtimor $ 00008 * 00009 */ 00010 00011 /*! \file */ 00012 00013 #ifndef __NMEA_TIME_H__ 00014 #define __NMEA_TIME_H__ 00015 00016 #include "config.h" 00017 00018 #ifdef __cplusplus 00019 extern "C" { 00020 #endif 00021 00022 /** 00023 * Date and time data 00024 * @see nmea_time_now 00025 */ 00026 typedef struct _nmeaTIME 00027 { 00028 int year; /**< Years since 1900 */ 00029 int mon; /**< Months since January - [0,11] */ 00030 int day; /**< Day of the month - [1,31] */ 00031 int hour; /**< Hours since midnight - [0,23] */ 00032 int min; /**< Minutes after the hour - [0,59] */ 00033 int sec; /**< Seconds after the minute - [0,59] */ 00034 int hsec; /**< Hundredth part of second - [0,99] */ 00035 00036 } nmeaTIME; 00037 00038 /** 00039 * \brief Get time now to nmeaTIME structure 00040 */ 00041 void nmea_time_now(nmeaTIME *t); 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif 00046 00047 #endif /* __NMEA_TIME_H__ */
Generated on Thu Jul 14 2022 14:06:47 by
1.7.2