XenevaOS
Loading...
Searching...
No Matches
rtcmmio.h
Go to the documentation of this file.
1
30#ifndef __RTC_MMIO_H__
31#define __RTC_MMIO_H__
32
33#include <aa64hcode.h>
34
35#define RTC_BASE RTC
36
37#define RTCDR (RTC_BASE + 0x00)
38#define RTCMR (RTC_BASE + 0x04)
39#define RTCLR (RTC_BASE + 0x08)
40#define RTCCR (RTC_BASE + 0x0C)
41#define RTCIMSC (RTC_BASE + 0x10)
42#define RTCRIS (RTC_BASE + 0x14)
43#define RTCMIS (RTC_BASE + 0x18)
44#define RTCICR (RTC_BASE + 0x1C)
45
46/*
47 * AuPL031RTCIRQHandler -- irq handler of PL031 RTC
48 */
49extern void AuPL031RTCIRQHandle();
50
51
52/*
53 * AuPL031RTCInit -- initialize pl031 rtc
54 */
55extern void AuPL031RTCInit();
56#endif
void AuPL031RTCInit()
AuPL031RTCInit – initialize pl031 rtc [NOT USED].
Definition rtcmmio.c:132
void AuPL031RTCIRQHandle()
AuPL031RTCIRQHandler – irq handler of PL031 RTC.
Definition rtcmmio.c:122