⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext-board-reva.h

📁 sst flash的读写程序的编写 完整教程和实例程序和几个实用小工具
💻 H
字号:
 //define the extend board source
 
 //must be the same with CS6 in init.c 
 #define  ExtBoardBase0  0x66000000
 
 #define  PtrAdcControlP      (ExtBoardBase0+((0x00)<<17))
 #define  PtrAdcResultP       (ExtBoardBase0+((0x00)<<17))
 #define  PtrAdcStatusP       (ExtBoardBase0+((0x01)<<17))
 #define  PtrSpiWr0P	      (ExtBoardBase0+((0x02)<<17))
 #define  PtrSpiRdP	      (ExtBoardBase0+((0x02)<<17))
 #define  PtrSpiWr1P	      (ExtBoardBase0+((0x03)<<17))
 #define  PtrFpgaOutP	      (ExtBoardBase0+((0x04)<<17))	  
 #define  PtrDacAP            (ExtBoardBase0+((0x06)<<17))
 #define  PtrDacBP	      (ExtBoardBase0+((0x07)<<17))	  	  
 #define  PtrDigiLowOutP      (ExtBoardBase0+((0x08)<<17))	  
 #define  PtrDigiLowInP       (ExtBoardBase0+((0x08)<<17))	
 #define  PtrPioWrP  	      (ExtBoardBase0+((0x09)<<17))	
 #define  PtrPioRdP  	      (ExtBoardBase0+((0x09)<<17))	
 #define  PtrClearIntP	      (ExtBoardBase0+((0x0A)<<17))
 #define  PtrConfigIntP	      (ExtBoardBase0+((0x0B)<<17))		
 
 struct ExtBoardRevA
 {
 
 unsigned long *AdcControlP;
 unsigned long *AdcResultP;
 unsigned long *AdcStatusP;
 unsigned long *SpiWr0P;
 unsigned long *SpiWr1P;
 unsigned long *SpiRdP;
 unsigned long *FpgaOutP;
 unsigned long *DacAP;
 unsigned long *DacBP;
 unsigned long *DigiLowOutP;
 unsigned long *DigiLowInP;
 unsigned long *PioWrP;
 unsigned long *PioRdP;
 unsigned long *ClearIntP;
 unsigned long *ConfigIntP;
};
 
 
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -