F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
WatchdogTimer.cpp
Go to the documentation of this file.
1 #include <Os/WatchdogTimer.hpp>
2 
3 namespace Os {
4 
6  : m_handle(0),m_cb(nullptr),m_parameter(nullptr),m_timerTicks(0),m_timerMs(0)
7  {
8  }
9 
11  }
12 
13  WatchdogTimer::WatchdogStatus WatchdogTimer::startTicks( I32 delayInTicks, WatchdogCb p_callback, void* parameter) {
14  return WATCHDOG_START_ERROR;
15  }
16 
17  WatchdogTimer::WatchdogStatus WatchdogTimer::startMs( I32 delayInMs, WatchdogCb p_callback, void* parameter) {
18  return WATCHDOG_START_ERROR;
19  }
20 
22  return WATCHDOG_START_ERROR;
23  }
24 
26  return WATCHDOG_CANCEL_ERROR;
27  }
28 
29 }
30 
31 
Os
Definition: File.cpp:7
Os::WatchdogTimer::WatchdogStatus
WatchdogStatus
Definition: WatchdogTimer.hpp:10
Os::WatchdogTimer::~WatchdogTimer
virtual ~WatchdogTimer()
Definition: WatchdogTimer.cpp:10
Os::WatchdogTimer::restart
WatchdogStatus restart()
restart timer with previous value
Definition: WatchdogTimer.cpp:21
WatchdogTimer.hpp
Os::WatchdogTimer::WATCHDOG_START_ERROR
@ WATCHDOG_START_ERROR
Timer startup failed.
Definition: WatchdogTimer.hpp:13
Os::WatchdogTimer::WatchdogTimer
WatchdogTimer()
Definition: WatchdogTimer.cpp:5
Os::WatchdogTimer::WATCHDOG_CANCEL_ERROR
@ WATCHDOG_CANCEL_ERROR
Timer cancellation failed.
Definition: WatchdogTimer.hpp:14
Os::WatchdogTimer::startMs
WatchdogStatus startMs(I32 delayInMs, WatchdogCb p_callback, void *parameter)
Definition: WatchdogTimer.cpp:17
Os::WatchdogTimer::cancel
WatchdogStatus cancel()
cancel timer
Definition: WatchdogTimer.cpp:25
Os::WatchdogTimer::startTicks
WatchdogStatus startTicks(I32 delayInTicks, WatchdogCb p_callback, void *parameter)
Definition: WatchdogTimer.cpp:13