first

Dependencies:   MPU6050_SIM5320_TEST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers log.h Source File

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