Generic hardware access library
|
00001 #ifndef __ConfigCSRDumper_ 00002 #define __ConfigCSRDumper_ 00003 00004 #include <vector> 00005 #include <string> 00006 #include "hal/VMEConfigurationSpaceHandler.hh" 00007 00008 namespace HAL { 00009 00010 class ConfigCSRDumper { 00011 public: 00012 ConfigCSRDumper(); 00013 void dumpCSR (const VMEConfigurationSpaceHandler&, 00014 const uint32_t slotId ); 00015 private: 00016 void displayItem( const std::vector<unsigned char>csr, 00017 const uint32_t length, 00018 const uint32_t address, 00019 const std::string key, 00020 const std::string description ); 00021 00022 }; 00023 00024 } /* namespace HAL */ 00025 00026 #endif