libIEC61850
0.8.2
Open-source IEC 61850 MMS/GOOSE server and client library
|
Classes | |
union | Timestamp |
Functions | |
uint32_t | Timestamp_getTimeInSeconds (Timestamp *self) |
uint64_t | Timestamp_getTimeInMs (Timestamp *self) |
bool | Timestamp_isLeapSecondKnown (Timestamp *self) |
void | Timestamp_setLeapSecondKnown (Timestamp *self, bool value) |
bool | Timestamp_hasClockFailure (Timestamp *self) |
void | Timestamp_setClockFailure (Timestamp *self, bool value) |
bool | Timestamp_isClockNotSynchronized (Timestamp *self) |
void | Timestamp_setClockNotSynchronized (Timestamp *self, bool value) |
int | Timestamp_getSubsecondPrecision (Timestamp *self) |
void | Timestamp_setSubsecondPrecision (Timestamp *self, int subsecondPrecision) |
Set the subsecond precision value of the time stamp. More... | |
void | Timestamp_setTimeInSeconds (Timestamp *self, uint32_t secondsSinceEpoch) |
void | Timestamp_setTimeInMilliseconds (Timestamp *self, uint64_t millisSinceEpoch) |
int Timestamp_getSubsecondPrecision | ( | Timestamp * | self) |
uint64_t Timestamp_getTimeInMs | ( | Timestamp * | self) |
uint32_t Timestamp_getTimeInSeconds | ( | Timestamp * | self) |
bool Timestamp_hasClockFailure | ( | Timestamp * | self) |
bool Timestamp_isClockNotSynchronized | ( | Timestamp * | self) |
bool Timestamp_isLeapSecondKnown | ( | Timestamp * | self) |
void Timestamp_setClockFailure | ( | Timestamp * | self, |
bool | value | ||
) |
void Timestamp_setClockNotSynchronized | ( | Timestamp * | self, |
bool | value | ||
) |
void Timestamp_setLeapSecondKnown | ( | Timestamp * | self, |
bool | value | ||
) |
void Timestamp_setSubsecondPrecision | ( | Timestamp * | self, |
int | subsecondPrecision | ||
) |
Set the subsecond precision value of the time stamp.
subsecondPrecision | the number of significant bits of the fractionOfSecond part of the time stamp |
void Timestamp_setTimeInMilliseconds | ( | Timestamp * | self, |
uint64_t | millisSinceEpoch | ||
) |
void Timestamp_setTimeInSeconds | ( | Timestamp * | self, |
uint32_t | secondsSinceEpoch | ||
) |