|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
#include <stdint.h>#include <stdlib.h>#include <string.h>#include <sys/mman.h>#include <stdio.h>#include <unistd.h>#include <sys/ioctl.h>#include <sys/signal.h>#include <sys/fcntl.h>Classes | |
| struct | AxiVersion |
| struct AxiVersion - Represents AXI version data. More... | |
Macros | |
| #define | AVER_Get 0x1200 |
| Commands for AXI version operations. | |
Functions | |
| static ssize_t | axiVersionGet (int32_t fd, struct AxiVersion *aVer) |
| axiVersionGet - Reads the AXI version information. | |
| #define AVER_Get 0x1200 |
Commands for AXI version operations.
Description:
This file is part of the aes_stream_drivers package. It is subject to the license terms in the LICENSE.txt file found in the top-level directory of this distribution and at: https://confluence.slac.stanford.edu/display/ppareg/LICENSE.html. No part of the aes_stream_drivers package, including this file, may be copied, modified, propagated, or distributed except according to the terms
|
inlinestatic |
axiVersionGet - Reads the AXI version information.
@fd: File descriptor for the device. @aVer: Pointer to AxiVersion structure to fill with data.
This function invokes an IOCTL call to read the AXI version information from the hardware and fills the provided AxiVersion structure with the data read.
Return: The number of bytes read on success or an error code on failure.