11// / \file Cru/Constants.h
2- // / \brief Definitions of CRU related constants
2+ // / \brief Definitions of internal CRU related constants
33// /
44// / \author Pascal Boeschoten ([email protected] )55// / \author Kostas Alexopoulos ([email protected] )66
77#ifndef ALICEO2_READOUTCARD_CRU_CONSTANTS_H_
88#define ALICEO2_READOUTCARD_CRU_CONSTANTS_H_
99
10+ #include " ReadoutCard/Cru.h"
1011#include " Register.h"
1112
1213namespace AliceO2
@@ -153,13 +154,13 @@ static constexpr Register LOCAL_CLOCK(0x00240004);
153154// / Register for locking the clock the the refclk
154155static constexpr Register LOCK_CLOCK_TO_REF (0x00220000 );
155156
156- // / Register for modifying TTC parameters (e.g. Clock/Downstream Data )
157+ // / Register for modifying TTC parameters (CLOCK_/DATA_ )
157158static constexpr Register TTC_DATA (0x00200000 );
158- static constexpr uint32_t CLOCK_TTC (0x0 );
159+ /* static constexpr uint32_t CLOCK_TTC(0x0);
159160static constexpr uint32_t CLOCK_LOCAL(0x2);
160161static constexpr uint32_t DATA_CTP(0x0);
161162static constexpr uint32_t DATA_PATTERN(0x1);
162- static constexpr uint32_t DATA_MIDTRG (0x2 );
163+ static constexpr uint32_t DATA_MIDTRG(0x2);*/
163164
164165// / Registers used for TTC calibration
165166static constexpr Register PON_WRAPPER_PLL (0x00224000 );
@@ -192,9 +193,9 @@ static constexpr Register GBT_LINK_SOURCE_SELECT(0x00000038);
192193
193194// / Register for selecting the the GBT Multiplexer
194195static constexpr Register GBT_MUX_SELECT (0x0000001c );
195- static constexpr uint32_t GBT_MUX_TTC (0x0 );
196+ /* static constexpr uint32_t GBT_MUX_TTC(0x0);
196197static constexpr uint32_t GBT_MUX_DDG(0x1);
197- static constexpr uint32_t GBT_MUX_SC (0x2 );
198+ static constexpr uint32_t GBT_MUX_SC(0x2);*/
198199
199200// / GBT registers to get Link and Wrapper parameters (e.g. count/links per bank)
200201static constexpr Register GBT_LINK_XCVR_OFFSET (0x00001000 );
@@ -207,8 +208,8 @@ static constexpr Register GBT_BANK_FPLL(0x0000e000);
207208// / Registers to set TX and RX GBT modes
208209static constexpr Register GBT_LINK_TX_CONTROL_OFFSET (0x00000034 );
209210static constexpr Register GBT_LINK_RX_CONTROL_OFFSET (0x00000040 );
210- static constexpr uint32_t GBT_MODE_GBT (0x0 );
211- static constexpr uint32_t GBT_MODE_WB (0x1 );
211+ /* static constexpr uint32_t GBT_MODE_GBT(0x0);
212+ static constexpr uint32_t GBT_MODE_WB(0x1);*/
212213
213214
214215// ** DATAPATH WRAPPER **//
@@ -231,8 +232,8 @@ static constexpr Register DWRAPPER_MUX_CONTROL(0x00000004);
231232static constexpr Register DATAPATHLINK_OFFSET (0x00040000 );
232233static constexpr Register DATALINK_OFFSET (0x00001000 );
233234static constexpr Register DATALINK_CONTROL (0x00000000 );
234- static constexpr uint32_t GBT_PACKET (0x1 );
235- static constexpr uint32_t GBT_CONTINUOUS (0x0 );
235+ /* static constexpr uint32_t GBT_PACKET(0x1);
236+ static constexpr uint32_t GBT_CONTINUOUS(0x0);*/
236237
237238// / Registers to set the Flow Control
238239static constexpr Register FLOW_CONTROL_OFFSET (0x000c0000 );
0 commit comments