PER Firmware
Loading...
Searching...
No Matches
rtc_sync.h File Reference

Synchronization of the RTC peripheral with the GPS UTC time. More...

#include "timestamped_frame.h"
#include "common/phal/rtc.h"
#include "common/freertos/freertos.h"

Go to the source code of this file.

Functions

void RTC_sync_init (void)
 
void RTC_sync_thread (void)
 

Variables

volatile uint32_t last_RTC_sync_time
 
QueueHandle_t gps_time_queue
 
RTC_timestamp_t fallback_timestamp
 

Detailed Description

Synchronization of the RTC peripheral with the GPS UTC time.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
Shriya Balu (balu@.nosp@m.purd.nosp@m.ue.ed.nosp@m.u)