Macros: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
No edit summary
(The midas documentation has moved to https://midas.triumf.ca/docs/)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Pagelinks}}
The midas documentation has moved. The new documentation about the macros defined by midas is in:
 
* [https://midas.triumf.ca/docs/develop/api/cpp/definitions/#event-header-macros Event header macros] on the Midas C++ API - constants and generic macros page
==Introduction==
* [https://midas.triumf.ca/docs/develop/api/cpp/definitions/#camac CAMAC] on the same page (the LAM macros)
The following MACROS have been provided in the MIDAS package.
* [https://midas.triumf.ca/docs/develop/api/cpp/msystem/#msmacroh System Macros] on the Midas C++ API - system internals (msystem.h) page (the byte-swap macros)
 
==Byte Swap Macros==
Thes macros are provided for big/little endian byte-swapping
*  WORD_SWAP
*  DWORD_SWAP
*  QWORD_SWAP
 
These macros are used by bk_swap();
 
==CAMAC Macros==
Midas provides Macros for CAMAC LAM manipulation
*  LAM_SOURCE
*  LAM_STATION
*  LAM_SOURCE_CRATE
*  LAM_SOURCE_STATION
 
==Event Header Macros==
* TRIGGER_MASK
* EVENT_ID
* SERIAL_NUMBER
* TIME_STAMP
* DATA_SIZE
See [[MIDAS Event Header Macros]].
 
[[Category:Appendices]] [[Category:Macros]]

Latest revision as of 22:01, 30 October 2026

The midas documentation has moved. The new documentation about the macros defined by midas is in:

  • Event header macros on the Midas C++ API - constants and generic macros page
  • CAMAC on the same page (the LAM macros)
  • System Macros on the Midas C++ API - system internals (msystem.h) page (the byte-swap macros)