MOS Source Code
Loading...
Searching...
No Matches
rtc.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-or-later
2
3
#pragma once
4
5
#include "
mos/platform/platform.h
"
6
7
#include <
mos/types.h
>
8
9
void
rtc_init
();
10
bool
rtc_irq_handler
(
u32
irq,
void
*data);
11
void
rtc_read_time
(
timeval_t
*time);
platform.h
rtc_read_time
void rtc_read_time(timeval_t *time)
Definition
rtc.c:36
rtc_irq_handler
bool rtc_irq_handler(u32 irq, void *data)
Definition
rtc.c:99
rtc_init
void rtc_init()
Definition
rtc.c:108
timeval_t
Definition
platform.h:100
types.h
u32
unsigned int u32
Definition
types.h:21
kernel
arch
x86_64
include
private
mos
x86
devices
rtc.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0