Kernel: Add RTC to get current time

This commit is contained in:
Bananymous
2022-12-13 10:41:36 +02:00
parent 835430e7b0
commit 7ebe727a29
3 changed files with 112 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include <stdint.h>
namespace RTC
{
struct Time
{
uint8_t second;
uint8_t minute;
uint8_t hour;
uint8_t day;
uint8_t month;
int year;
};
Time GetCurrentTime();
}