Skip to content

FreeRTOS platform

File SolidSyslogFreeRtosSysUpTime.h

FileList > FreeRtos > Interface > SolidSyslogFreeRtosSysUpTime.h

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

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

Public Functions Documentation

SolidSyslogFreeRtos_GetSysUpTime

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

uint32_t SolidSyslogFreeRtos_GetSysUpTime (
    void
) 

Built for a 32- or 64-bit TickType_t; a 16-bit one resolves to no implementation, so supply your own SolidSyslogSysUpTimeFunction there. On a 32-bit counter the wraps are counted, which takes a short critical section - safe from any task, not from an interrupt.



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