timeEnginectrl.h
36 lines
| 749 B
| text/x-c
|
CLexer
|
r132 | /* | ||
* timeEnginectrl.h | ||||
* | ||||
* Created on: Oct 16, 2014 | ||||
* Author: Alan Aguilar Sologuren | ||||
*/ | ||||
#ifndef TIMEENGINE_TIMEENGINECTRL_H_ | ||||
#define TIMEENGINE_TIMEENGINECTRL_H_ | ||||
#include "../utils/defs.h" | ||||
#include "gnssctrl.h" | ||||
#include "clockctrl.h" | ||||
#include "rtcctrl.h" | ||||
class timeEngine_ctrl { | ||||
public: | ||||
timeEngine_ctrl(); | ||||
virtual ~timeEngine_ctrl(); | ||||
bool teCtrl_reset(void*); | ||||
bool teCtrl_get_status(void*); | ||||
bool teCtrl_send_command(void*); | ||||
bool teCtrl_activate_lock(void*);//solo para test | ||||
bool teCtrl_deactivate_lock(void*);//solo para test | ||||
private: | ||||
te_status_struct* te_status; | ||||
te_time_pkg* te_tmpkg; | ||||
te_command_struct* te_command; | ||||
gnss_ctrl te_gnss; | ||||
clock_ctrl te_clock; | ||||
rtc_ctrl te_rtc; | ||||
}; | ||||
#endif /* TIMEENGINE_TIMEENGINECTRL_H_ */ | ||||