diff options
author | Marvin Borner | 2021-04-05 00:22:15 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-05 00:22:15 +0200 |
commit | b476dc856431436ac0f3e0179f8a25302421a0cc (patch) | |
tree | ac89ab7533db5ebae796ec0f732271afff10c891 /kernel/inc/rtc.h | |
parent | 248c0d2fd007eeeb108ff1a88924e3ef8ff84ba4 (diff) |
Added new randomization features
Diffstat (limited to 'kernel/inc/rtc.h')
-rw-r--r-- | kernel/inc/rtc.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/inc/rtc.h b/kernel/inc/rtc.h new file mode 100644 index 0000000..44a9c9e --- /dev/null +++ b/kernel/inc/rtc.h @@ -0,0 +1,21 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef RTC_H +#define RTC_H + +#include <def.h> + +struct rtc { + u8 second; + u8 minute; + u8 hour; + u8 day; + u8 month; + u32 year; +}; + +struct rtc rtc_read(void); +u32 rtc_stamp(void); +CLEAR void rtc_install(void); + +#endif |