#include <timeconversion.h>
This class holds a 32.32 fixed point number used for time conversion
miosix::TimeConversionFactor::TimeConversionFactor |
( |
| ) |
|
|
inline |
Default constructor. Leaves the factors unintialized.
miosix::TimeConversionFactor::TimeConversionFactor |
( |
unsigned int |
i, |
|
|
unsigned int |
f |
|
) |
| |
|
inline |
Constructor
- Parameters
-
i | integer part |
f | fractional part |
unsigned int miosix::TimeConversionFactor::fractionalPart |
( |
| ) |
const |
|
inline |
- Returns
- the fractional part of the fixed point number
unsigned int miosix::TimeConversionFactor::integerPart |
( |
| ) |
const |
|
inline |
- Returns
- the integer part of the fixed point number
The documentation for this class was generated from the following file: