summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/bfin/include/coreTimerRegs.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/bfin/include/coreTimerRegs.h')
-rw-r--r--c/src/lib/libcpu/bfin/include/coreTimerRegs.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/bfin/include/coreTimerRegs.h b/c/src/lib/libcpu/bfin/include/coreTimerRegs.h
new file mode 100644
index 0000000000..393720f4dd
--- /dev/null
+++ b/c/src/lib/libcpu/bfin/include/coreTimerRegs.h
@@ -0,0 +1,32 @@
+/* Blackfin Core Timer Registers
+ *
+ * Copyright (c) 2008 Kallisti Labs, Los Gatos, CA, USA
+ * written by Allan Hessenflow <allanh@kallisti.com>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#ifndef _coreTimerRegs_h_
+#define _coreTimerRegs_h_
+
+/* register addresses */
+
+#define TCNTL 0xffe03000
+#define TPERIOD 0xffe03004
+#define TSCALE 0xffe03008
+#define TCOUNT 0xffe0300c
+
+
+/* register fields */
+
+#define TCNTL_TINT 0x00000008
+#define TCNTL_TAUTORLD 0x00000004
+#define TCNTL_TMREN 0x00000002
+#define TCNTL_TMPWR 0x00000001
+
+#endif /* _coreTimerRegs_h_ */
+