Mon 14 Oct 23:06:38 CEST 2024
This commit is contained in:
parent
31cc7715af
commit
886521714f
18
kernel/rtc.h
Normal file
18
kernel/rtc.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
Copyright (C) 2015-2019 The University of Notre Dame
|
||||
This software is distributed under the GNU General Public License.
|
||||
See the file LICENSE for details.
|
||||
*/
|
||||
|
||||
#ifndef RTC_H
|
||||
#define RTC_H
|
||||
|
||||
#include "kernel/types.h"
|
||||
|
||||
extern uint32_t boottime;
|
||||
|
||||
void rtc_init();
|
||||
void rtc_read(struct rtc_time *t);
|
||||
uint32_t rtc_time_to_timestamp(struct rtc_time *t);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user