Skip to content

File SolidSyslogFreeRtosSysUpTime.h

FileList > FreeRtos > Interface > SolidSyslogFreeRtosSysUpTime.h

Go to the source code of this file

The FreeRTOS SolidSyslogSysUpTimeFunction, for the MetaSd structured-data element.

  • #include "ExternC.h"
  • #include <stdint.h>

Public Functions

Type Name
EXTERN_C_BEGIN uint32_t SolidSyslogFreeRtosSysUpTime_Get (void)
Hundredths of a second of uptime from xTaskGetTickCount, for the meta-SD sysUpTime field.

Public Functions Documentation

function SolidSyslogFreeRtosSysUpTime_Get

Hundredths of a second of uptime from xTaskGetTickCount, for the meta-SD sysUpTime field.

EXTERN_C_BEGIN uint32_t SolidSyslogFreeRtosSysUpTime_Get (
    void
) 

A uint64 intermediate keeps the scaling correct at any configTICK_RATE_HZ, but the value inherits the FreeRTOS tick counter's wrap — it resets well before the RFC 3418 2^32-hundredths range (and quickly under configUSE_16_BIT_TICKS), so it is not a full TimeTicks counter.



The documentation for this class was generated from the following file Platform/FreeRtos/Interface/SolidSyslogFreeRtosSysUpTime.h