summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/rtc/m48t08_reg8.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-29 00:01:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-07-29 00:01:56 +0000
commit8d6e7120d54ee34d9117704584e7eb8df27a6b24 (patch)
tree85c8d3fe417bafe586ccb80dbed2296d1cdc33c9 /c/src/libchip/rtc/m48t08_reg8.c
parentAdded new files. (diff)
downloadrtems-8d6e7120d54ee34d9117704584e7eb8df27a6b24.tar.bz2
New files.
Diffstat (limited to '')
-rw-r--r--c/src/libchip/rtc/m48t08_reg8.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/libchip/rtc/m48t08_reg8.c b/c/src/libchip/rtc/m48t08_reg8.c
new file mode 100644
index 0000000000..dcc2a9b39b
--- /dev/null
+++ b/c/src/libchip/rtc/m48t08_reg8.c
@@ -0,0 +1,24 @@
+/*
+ * This file contains a typical set of register access routines which may be
+ * used with the m48t08 chip if accesses to the chip are as follows:
+ *
+ * + registers are accessed as bytes
+ * + registers are on 64-bit boundaries
+ *
+ * COPYRIGHT (c) 1989-1997.
+ * On-Line Applications Research Corporation (OAR).
+ * Copyright assigned to U.S. Government, 1994.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#define _M48T08_MULTIPLIER 8
+#define _M48T08_NAME(_X) _X##_8
+#define _M48T08_TYPE unsigned8
+
+#include "m48t08_reg.c"
+