25#ifndef PROTOCORE_TIME_SOURCE_H
26#define PROTOCORE_TIME_SOURCE_H
39#if PROTOCORE_ENABLE_TIME_SOURCE
52embed_bool protocore_time_source_add(
const char *name, uint8_t priority,
TimeSourceFn fn);
60uint32_t protocore_time_now(
void);
63const char *protocore_time_source_active(
void);
66void protocore_time_source_reset(
void);
uint32_t(* TimeSourceFn)(void)
A time source: returns the current Unix epoch seconds for this source, or 0 if it currently has no va...