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
30
extern
StatusType
Counter_IncrementCounter
(
CounterType
counterID);
31
44
extern
StatusType
Counter_GetCounterValue
(
CounterType
counterID,
TickRefType
value);
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
include
Counter.h
Generated by
1.8.20