mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
moench:dsamples=0 at startup
This commit is contained in:
parent
aeb9ddfe62
commit
1d2a46cdbe
Binary file not shown.
@ -1269,8 +1269,13 @@ int powerChip (int on) {
|
|||||||
/* parameters - readout */
|
/* parameters - readout */
|
||||||
|
|
||||||
int setAnalogOnlyReadout() {
|
int setAnalogOnlyReadout() {
|
||||||
FILE_LOG(logINFOBLUE, ("Setting Analog Only Readout\n"));
|
FILE_LOG(logINFOBLUE, ("Setting Number of Digital samples to 0\n"));
|
||||||
|
|
||||||
|
// digital num samples = 0
|
||||||
|
bus_w(SAMPLES_REG, bus_r(SAMPLES_REG) &~ SAMPLES_DIGITAL_MSK);
|
||||||
|
|
||||||
|
FILE_LOG(logINFOBLUE, ("Setting Analog Only Readout\n"));
|
||||||
|
// analog only readout
|
||||||
uint32_t addr = CONFIG_REG;
|
uint32_t addr = CONFIG_REG;
|
||||||
uint32_t addr_readout_10g = READOUT_10G_ENABLE_REG;
|
uint32_t addr_readout_10g = READOUT_10G_ENABLE_REG;
|
||||||
// default: analog only
|
// default: analog only
|
||||||
|
Loading…
x
Reference in New Issue
Block a user