AutosarOS
Counter.h
Go to the documentation of this file.
1 
15 #ifndef COUNTER_H_
16 #define COUNTER_H_
17 
18 #include "Types.h"
19 
31 
45 
61 extern StatusType Counter_GetElapsedValue(CounterType counterID, TickRefType value, TickRefType elapsedValue);
62 
63 
64 #endif /* COUNTER_H_ */
StatusType
enum StatusType_e StatusType
Type for status.
TickRefType
TickType * TickRefType
Reference to counter values.
Definition: CounterTypes.h:28
CounterType
enum counters_e CounterType
Type for counter reference.
Definition: CounterTypes.h:33
Types.h
Type definitions.
Counter_GetElapsedValue
StatusType Counter_GetElapsedValue(CounterType counterID, TickRefType value, TickRefType elapsedValue)
Get elapse counter value.
Definition: Counter.c:78
Counter_IncrementCounter
StatusType Counter_IncrementCounter(CounterType counterID)
Increment counter.
Definition: Counter.c:21
Counter_GetCounterValue
StatusType Counter_GetCounterValue(CounterType counterID, TickRefType value)
Read current counter value.
Definition: Counter.c:51