PER Firmware
Loading...
Searching...
No Matches
rtc_sync.h
Go to the documentation of this file.
1
9#ifndef RTC_SYNC_H
10#define RTC_SYNC_H
11
12#include "timestamped_frame.h"
13#include "common/phal/rtc.h"
15
16extern volatile uint32_t last_RTC_sync_time;
17extern QueueHandle_t gps_time_queue;
18extern RTC_timestamp_t fallback_timestamp;
19
20void RTC_sync_init(void);
21void RTC_sync_thread(void);
22
23#endif // RTC_SYNC_h
Wrapper macros for FreeRTOS constructs (tasks, queues, semaphores) to simplify static memory allocati...
Definition rtc.h:96
Definition for timestamped CAN frames.