6void check_time_on_loop();
7int time_command_received(
struct command *com);
9int get_localtime_as_struct(
struct sctime *time);
11uint32_t add_seconds(uint32_t t, uint32_t offset);
13void convert_timestamps_to_time(uint32_t bcdtime, uint32_t bcddate,
struct sctime *time);
15uint32_t convert_time_to_timestamp(
struct sctime *time);
17void send_clock_sync_request();
18void clocksync_enable(uint8_t);
20void time_add_debug_to_command(
struct command *com);
22uint32_t get_seconds_since_start();
26int diff_time(
struct sctime *time1,
struct sctime *time2);