dev_rtc.h Source File

Back to the index.

dev_rtc.h
Go to the documentation of this file.
1 #ifndef TESTMACHINE_RTC_H
2 #define TESTMACHINE_RTC_H
3 
4 /*
5  * Definitions used by the "rtc" device in GXemul.
6  *
7  * This file is in the public domain.
8  */
9 
10 
11 #define DEV_RTC_ADDRESS 0x0000000015000000
12 #define DEV_RTC_LENGTH 0x0000000000000200
13 
14 #define DEV_RTC_TRIGGER_READ 0x0000
15 #define DEV_RTC_SEC 0x0010
16 #define DEV_RTC_USEC 0x0020
17 
18 #define DEV_RTC_HZ 0x0100
19 #define DEV_RTC_INTERRUPT_ACK 0x0110
20 
21 #endif /* TESTMACHINE_RTC_H */

Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13