embkernel
Main Page
Modules
Classes
Files
File List
All
Classes
Functions
Variables
Typedefs
Groups
Pages
RTOS
RtosTimer.hpp
1
//------------------------------------------------------------------------------
2
//This file is part of embKernel.
3
//See license.txt for the full license governing this code.
4
//------------------------------------------------------------------------------
8
#ifndef RTOS_TIMER_HPP_
9
#define RTOS_TIMER_HPP_
10
11
#include "Rtos.hpp"
12
17
class
RtosTimer
{
18
private
:
19
enum
{
20
COUNTING = 0,
21
ELLAPSED,
22
INFINITE_TIMEOUT
23
} mState;
24
25
Rtos::TICK
mTimeout;
26
public
:
27
void
set
(
Rtos::TICK
timeout);
28
bool
isEllapsed
();
29
};
30
31
#endif
/* RTOS_TIMER_HPP_ */
32
Generated on Sun May 12 2013 23:28:51 for embkernel by
1.8.3.1