Ttick Union Reference

We use two different types of tick, Ttick and TextendedTick. More...

#include <femtoos_types.h>


Data Fields

Tuint16 Full
struct {
   Tuint08   LowByte
   Tuint08   HighByte
}; 


Detailed Description

We use two different types of tick, Ttick and TextendedTick.

The former is used if we have standard tick interrupts (i.e. equidistant interrupts) and there is no further need for extra storage. The 16 bit tick counter is kept in two separate bytes, which is more efficient as one 16 bit variable for direct access. However, sometimes it is convenient to have the value as 16 bit word at hand, thus we define a union.

Definition at line 47 of file femtoos_types.h.


Field Documentation

Tuint16 Ttick::Full

Definition at line 48 of file femtoos_types.h.

Tuint08 Ttick::LowByte

Definition at line 50 of file femtoos_types.h.

Tuint08 Ttick::HighByte

Definition at line 51 of file femtoos_types.h.

struct { ... }


The documentation for this union was generated from the following file:
Generated on Fri Oct 16 00:05:35 2009 for FemtoOS by  doxygen 1.5.2