mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-15 17:11:20 +01:00
* add patternstart command for CTB, block end of execution udp packets if pattern was started by patternstart command * update docs * Dhanya's comments * more Dhanya comments * refactored * fixed tests for startpatttern, also clkfrequency not properly used in server * xilinx: fixed setfrequency, tick clock (with sync clock), clkfrequency set from getfrequency to get the exact value * xilinx freq in kHz, updated default values and prints --------- Co-authored-by: Martin Mueller <martin.mueller@psi.ch> Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
12 lines
374 B
C
12 lines
374 B
C
// SPDX-License-Identifier: LGPL-3.0-or-other
|
|
// Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
int XILINX_PLL_setFrequency(uint32_t clk_index, uint32_t freq);
|
|
uint32_t XILINX_PLL_getFrequency(uint32_t clkIDX);
|
|
bool XILINX_PLL_isLocked();
|
|
void XILINX_PLL_reset();
|
|
void XILINX_PLL_waitForLock();
|
|
void XILINX_PLL_load(); |