summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/rtc/icm7170_reg2.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/icm7170_reg2.c
parentAdded new files. (diff)
downloadrtems-8d6e7120d54ee34d9117704584e7eb8df27a6b24.tar.bz2
New files.
Diffstat (limited to '')
-rw-r--r--c/src/libchip/rtc/icm7170_reg2.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/libchip/rtc/icm7170_reg2.c b/c/src/libchip/rtc/icm7170_reg2.c
new file mode 100644
index 0000000000..bab92697bf
--- /dev/null
+++ b/c/src/libchip/rtc/icm7170_reg2.c
@@ -0,0 +1,24 @@
+/*
+ * This file contains a typical set of register access routines which may be
+ * used with the icm7170 chip if accesses to the chip are as follows:
+ *
+ * + registers are accessed as bytes
+ * + registers are on 16-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 _ICM7170_MULTIPLIER 2
+#define _ICM7170_NAME(_X) _X##_2
+#define _ICM7170_TYPE unsigned8
+
+#include "icm7170_reg.c"
+