AutosarOS
counter_s Struct Reference

Data structure for counter. More...

#include <CounterTypes.h>

Data Fields

const TickType maxallowedvalue
 Maximum allowed value of counter. More...
 
const TickType mincycle
 Smallest allowed value for the cycle-parameter of cyclic alarms. More...
 
const TickType ticksperbase
 Number of ticks required to reach a counter-specific unit. More...
 
enum counterType_e type
 Type of counter. More...
 
const float secondspertick
 Time of one counter tick in seconds. More...
 
TickType value
 Current tick value of counter. More...
 

Detailed Description

Data structure for counter.

Definition at line 46 of file CounterTypes.h.

Field Documentation

◆ maxallowedvalue

const TickType maxallowedvalue

Maximum allowed value of counter.

Definition at line 47 of file CounterTypes.h.

◆ mincycle

const TickType mincycle

Smallest allowed value for the cycle-parameter of cyclic alarms.

Definition at line 48 of file CounterTypes.h.

◆ secondspertick

const float secondspertick

Time of one counter tick in seconds.

Definition at line 51 of file CounterTypes.h.

◆ ticksperbase

const TickType ticksperbase

Number of ticks required to reach a counter-specific unit.

Definition at line 49 of file CounterTypes.h.

◆ type

enum counterType_e type

Type of counter.

Definition at line 49 of file CounterTypes.h.

◆ value

TickType value

Current tick value of counter.

Definition at line 52 of file CounterTypes.h.


The documentation for this struct was generated from the following file: