瀏覽代碼

efDataDiscreteRateMining preliminaryDataProcessing.h 姚强 commit at 2020-11-05

姚强 4 年之前
父節點
當前提交
b636884a05
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      efDataDiscreteRateMining/monitoringDataProcessing/preliminaryDataProcessing.h

+ 18 - 0
efDataDiscreteRateMining/monitoringDataProcessing/preliminaryDataProcessing.h

@@ -247,3 +247,21 @@
  *    IEEE_TestDataIn	Test data register
  *    IEEE_TestDataInEn	Enable test data
  *    IEEE_TestCtrlIn	Test control signals
+ *    IEEE_TestCtrlInEn	Enable test control signals
+ *    IEEE_TestDataStat	Current data bus value
+ *
+ */
+
+/*
+ * The control registers are defined as offsets from a base address 
+ */
+ 
+#define _IEEE( x ) _SA1101( (x) + __PARALLEL_PORT )
+
+#define _IEEE_Config	    _IEEE( 0x0000 )
+#define _IEEE_Control	    _IEEE( 0x0400 )
+#define _IEEE_Data	    _IEEE( 0x4000 )
+#define _IEEE_Addr	    _IEEE( 0x0800 )
+#define _IEEE_Status	    _IEEE( 0x0c00 )
+#define _IEEE_IntStatus	    _IEEE( 0x1000 )
+#define _IEEE_FifoLevels    _IEEE( 0x1400 )