Files
Martin Muellerandmuelle_m1 fce5a4cbc7
Build and Deploy on local RHEL9 / build (push) Successful in 2m5s
Build on RHEL9 docker image / build (push) Successful in 4m37s
Build and Deploy on local RHEL8 / build (push) Successful in 4m53s
Build on RHEL8 docker image / build (push) Successful in 5m20s
Run Simulator Tests on local RHEL9 / build (push) Failing after 8m31s
Run Simulator Tests on local RHEL8 / build (push) Failing after 10m21s
Dev/fix udp headerwriting (#1656)
* force writing of udp header aligned and in order, fixed xilinx ctb crash on p rx_hostname

* force writing of udp header aligned and in order for all detectors

* update versions

* move udp header writing to bus_w

* compile servers

---------

Co-authored-by: Martin Mueller <martin.mueller@psi.ch>
2026-11-04 16:10:17 +01:00

20 lines
686 B
C

// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
#pragma once
#include <inttypes.h>
#include <sys/types.h>
void bus_w(u_int32_t offset, u_int32_t data);
void bus_w_csp1(u_int32_t offset, u_int32_t data);
void bus_w_csp2(u_int32_t offset, u_int32_t data);
u_int32_t bus_r(u_int32_t offset);
u_int32_t bus_r_csp1(u_int32_t offset);
u_int32_t bus_r_csp2(u_int32_t offset);
uint64_t getU64BitReg(int aLSB, int aMSB);
void setU64BitReg(uint64_t value, int aLSB, int aMSB);
u_int32_t readRegister(u_int32_t offset);
u_int32_t writeRegister(u_int32_t offset, u_int32_t data);
int mapCSP0(void);
u_int32_t *Arm_getUDPBaseAddress();