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: MPU6050_SIM5320_TEST
Fork of MPU_SDCARD by
log.h
00001 #ifndef _LOG_H 00002 #define _LOG_H 00003 00004 #include <stdint.h> 00005 //#include <stdio.h> 00006 //#include <stdlib.h> 00007 00008 00009 //************************************************************LOG*******************************************************************// 00010 class Log{ 00011 private: 00012 00013 public: 00014 uint16_t _data; 00015 uint16_t _date; 00016 Log(uint16_t ttime, uint8_t fsmtype, uint8_t event, uint16_t date); 00017 Log(); 00018 uint16_t getsize(); 00019 bool getFsmtype() const; 00020 bool getEvent() const; 00021 uint16_t getTime() const; 00022 uint16_t getDate() const; 00023 void setLog(uint16_t ttime, uint8_t fsmtype, uint8_t event,uint16_t date); 00024 00025 Log& operator =(const Log &a); 00026 00027 }; 00028 00029 #endif 00030
Generated on Tue Jul 12 2022 19:25:17 by
1.7.2
