Macros: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
{{Pagelinks}} | |||
==Introduction== | ==Introduction== | ||
The following MACROS have been provided in the MIDAS package. | The following MACROS have been provided in the MIDAS package. | ||
Line 24: | Line 26: | ||
* DATA_SIZE | * DATA_SIZE | ||
See [[MIDAS Event Header Macros]]. | See [[MIDAS Event Header Macros]]. | ||
[[Category:Appendices]] |
Revision as of 14:17, 14 July 2015
Introduction
The following MACROS have been provided in the MIDAS package.
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