Epok Engine

EPOK RUNTIME

epok::sequence_elapsed_ticks

Function · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function

Timer 2 wraps every 15.48 ms.

Belongs to
epok
Header
sequence_clock.hpp
Overloads
1

Declaration

Declaration
inline bool sequence_elapsed_ticks(uint16_t ticks,uint16_t lines,uint32_t& elapsed)

Timer 2 wraps every 15.48 ms.

ParameterTypeMeaning
ticksuint16_tNot documented; consult the linked header.
linesuint16_tNot documented; consult the linked header.
elapseduint32_t &Not documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "sequence_clock.hpp"

// Assume these named values have been initialized with valid data:
// uint16_t ticks
// uint16_t lines
// uint32_t & elapsed

auto result = epok::sequence_elapsed_ticks(ticks, lines, elapsed);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/sequence_clock.hpp:99

Related members