AMC13 Class as of 16 January 2013

General read/write

   rv read(int chip, const std::string& reg)
   rv readAddress(int chip, uint32_t add)
   std::vector<rv> readBlockAddress(int chip, uint32_t add, size_t nWords)
   size_t readBlockAddress(int chip, uint32_t add, size_t nWords, uint32_t* buffer, size_t bufMax)
   std::vector<rv> readFifoAddress(int, uint32_t, size_t)
   std::map<std::string, uint32_t> readAllReadable(int chip)
   void write(int chip, const std::string& reg, rv value)
   void writeAddress(int chip, rv add, rv value)
   void writeBlockAddress(int chip, uint32_t add, std::vector<uint32_t> data, size_t nWords)
   void writeFifoAddress(int, uint32_t, std::vector<uint32_t>)
   void writeQueueAddress(int chip, uint32_t add, std::vector<uint32_t> data, size_t nWords)
   void writeTest(int chip)


   uint32_t parseInputEnableList(std::string list)
   void AMCInputEnable(std::string list)
   daqLinkEnable(bool b)
   void fakeDataEnable(bool b)
   void ttcRxEnable(bool b)
   void monBufBackPressEnable(bool b)


   void reset(int chip)
   void sendLocalEvnOrnReset(uint32_t a, uint32_t b)
   void genInternalPeriodicL1As(bool b)
   void enableDaqLinkSenderReceiver()
   void saveReceivedDaqData(bool b)
   megaMonitorScale(bool b)
   setPreScaleFactor(uint32_t noZos)
   genInternalSingleL1A(uint32_t n)
   setTrigType(uint32_t type)
   setLocalL1APeriod(uint32_t n)
   setFEDid(uint32_t id)
   void startRun()
   void endRun()


   uint32_t nextEventSize() 
   uint32_t readNextEvent(uint32_t *buffer, uint32_t max_buf)
   uint32_t readNextEventNoAdvance(uint32_t *buffer, uint32_t max_buf)

-- JimRohlf - 27 May 2012

Edit | Attach | Watch | Print version | History: r10 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 16 Jan 2013 - CharlieHill
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback