EtcPal  0.4.1
ETC Platform Abstraction Layer (EtcPal)
View other versions:
EtcPalTimer Struct Reference

Overview

A millisecond-resolution timer.

The times are represented in milliseconds by a 32-bit unsigned integer. Since the timer is monotonically-increasing, wraparound is handled by doing comparisons of the form

timeA - timeB > 0

rather than

timeA > timeB

.

Data Fields

uint32_t reset_time
 The time at which this timer was reset.
 
uint32_t interval
 This timer's timeout interval.
 

The documentation for this struct was generated from the following file: