Переглянути джерело

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

姚强 4 роки тому
батько
коміт
b636884a05

+ 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 )