@@ -80,10 +80,6 @@ class Swt
8080 // / \param gbtChannel The channel to set
8181 void setChannel (int gbtChannel);
8282
83- // / Checks if an SWT channel has been selected
84- // / \throws o2::alf::SwtException if no SWT channel selected
85- void checkChannelSet ();
86-
8783 // / Executes an SC reset
8884 void scReset ();
8985
@@ -116,8 +112,18 @@ class Swt
116112 // / o2::alf::SwtException on invalid operation or error
117113 std::string writeSequence (std::vector<std::pair<Operation, Data>> sequence, bool lock = false );
118114
115+ static std::string SwtOperationToString (Operation op);
116+ static Operation StringToSwtOperation (std::string op);
117+
118+ static constexpr int DEFAULT_SWT_TIMEOUT_MS = 10 ;
119+
119120 private:
120121 void init (const roc::Parameters::CardIdType& cardId, int linkId);
122+
123+ // / Checks if an SWT channel has been selected
124+ // / \throws o2::alf::SwtException if no SWT channel selected
125+ void checkChannelSet ();
126+
121127 void barWrite (uint32_t offset, uint32_t data);
122128 uint32_t barRead (uint32_t index);
123129
@@ -127,7 +133,6 @@ class Swt
127133 std::unique_ptr<LlaSession> mLlaSession ;
128134
129135 static constexpr int DEFAULT_SWT_WAIT_TIME_MS = 3 ;
130- static constexpr int DEFAULT_SWT_TIMEOUT_MS = 10 ;
131136};
132137
133138} // namespace alf
0 commit comments