diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-24 13:23:01 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-24 13:23:01 +0000 |
commit | 740eb36c10dd43b2307767f6101833d960399438 (patch) | |
tree | 690b13f3369024e3ce878e85a21868edfe5d4fdb /firmware/drivers/rtc.h | |
parent | c7fee9bcb26f01d7d483f3b5776eeb59838902c0 (diff) | |
download | rockbox-740eb36c10dd43b2307767f6101833d960399438.tar.gz rockbox-740eb36c10dd43b2307767f6101833d960399438.zip |
Added first RTC functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1151 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/rtc.h')
-rw-r--r-- | firmware/drivers/rtc.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/drivers/rtc.h b/firmware/drivers/rtc.h new file mode 100644 index 0000000000..00b4db5596 --- /dev/null +++ b/firmware/drivers/rtc.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Linus Nielsen Feltzing | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef _RTC_H_ | ||
20 | #define _RTC_H_ | ||
21 | |||
22 | #ifdef HAVE_RTC | ||
23 | int rtc_read(unsigned char address); | ||
24 | int rtc_write(unsigned char address, unsigned char value); | ||
25 | #endif | ||
26 | |||
27 | #endif | ||