Subversion Repositories f9daq

Rev

Rev 17 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #ifndef __VME_H__
  2. #define __VME_H__
  3.  
  4. //------------------------------------------------------------------------------------------
  5. // vme.h - some constants about VME address modifiers in a more readable kind
  6. //
  7. // (c) 1999-2004 ARW Elektronik
  8. //
  9. // this source code is published under GPL (Open Source). You can use, redistrubute and
  10. // modify it unless this header   is not modified or deleted. No warranty is given that
  11. // this software will work like expected.
  12. // This product is not authorized for use as critical component in life support systems
  13. // wihout the express written approval of ARW Elektronik Germany.
  14. //
  15. // Please announce changes and hints to ARW Elektronik
  16. //
  17. //
  18. // $Log: Vme.h,v $
  19. // Revision 1.3  2004/07/24 07:07:26  klaus
  20. // Update copyright to 2004
  21. //
  22. // Revision 1.2  2003/11/15 19:12:51  klaus
  23. // Update copyright to 2003
  24. //
  25. // Revision 1.1.1.1  2003/11/14 23:16:33  klaus
  26. // First put into repository
  27. //
  28. // Revision 1.3  2002/10/27 16:17:48  klaus
  29. // Typing bug fixed caused at log addition
  30. //
  31. // Revision 1.2  2002/10/27 16:11:03  klaus
  32. // Added CVS log into header
  33. //
  34. // what                                                              who    when
  35. // finished first release to use with the PCIVME interface of ARW    AR     22.03.1999
  36. //
  37.  
  38. typedef WORD ADDRESS_MODIFIER;
  39.  
  40. #define Std_Sup_Data        (ADDRESS_MODIFIER)0x3d
  41. #define Std_Sup_Prog        (ADDRESS_MODIFIER)0x3e
  42. #define Std_NoPriv_Data     (ADDRESS_MODIFIER)0x39
  43. #define Std_NoPriv_Prog     (ADDRESS_MODIFIER)0x3a
  44.  
  45. #define Short_Sup           (ADDRESS_MODIFIER)0x2d
  46. #define Short_NoPriv        (ADDRESS_MODIFIER)0x29
  47.  
  48. #define Ext_Sup_Data        (ADDRESS_MODIFIER)0x0d
  49. #define Ext_Sup_Prog        (ADDRESS_MODIFIER)0x0e
  50. #define Ext_NoPriv_Data     (ADDRESS_MODIFIER)0x09
  51. #define Ext_NoPriv_Prog     (ADDRESS_MODIFIER)0x0a
  52.  
  53. #endif
  54.  
  55. //-------------------------------------------------------------------------------------------
  56. //-------------------------------------------------------------------------------------------
  57. //-------------------------------------------------------------------------------------------
  58.