Go to the documentation of this file.
15 #ifndef COUNTERTYPES_H_
16 #define COUNTERTYPES_H_
@ HARDWARE
Counter is implemented in hardware.
uint64_t TickType
Data type of counter values.
const float secondspertick
Time of one counter tick in seconds.
TickType * TickRefType
Reference to counter values.
@ SOFTWARE
Counter is implemented in software.
enum counters_e CounterType
Type for counter reference.
const TickType ticksperbase
Number of ticks required to reach a counter-specific unit.
const TickType maxallowedvalue
Maximum allowed value of counter.
const TickType mincycle
Smallest allowed value for the cycle-parameter of cyclic alarms.
TickType value
Current tick value of counter.
counterType_e
Type of counter.
Data structure for counter.
enum counterType_e type
Type of counter.