MDC1/2 5 & 0x1040 & 50020 & 52020 & 54020 & 148 \\
MDC1/2 6 & 0x1050 & 50021 & 52021 & 54021 & 149 \\
\hline
-MDC3/4 1 & 0x1100 & 50022 & 52016 & 54016 & 150 \\
-MDC3/4 2 & 0x1110 & 50023 & 52017 & 54017 & 151 \\
-MDC3/4 3 & 0x1120 & 50024 & 52018 & 54018 & 152 \\
-MDC3/4 4 & 0x1130 & 50025 & 52019 & 54019 & 153 \\
-MDC3/4 5 & 0x1140 & 50026 & 52020 & 54020 & 154 \\
-MDC3/4 6 & 0x1150 & 50027 & 52021 & 54021 & 155 \\
+MDC3/4 1 & 0x1100 & 50022 & 52022 & 54022 & 150 \\
+MDC3/4 2 & 0x1110 & 50023 & 52023 & 54023 & 151 \\
+MDC3/4 3 & 0x1120 & 50024 & 52024 & 54024 & 152 \\
+MDC3/4 4 & 0x1130 & 50025 & 52025 & 54025 & 153 \\
+MDC3/4 5 & 0x1140 & 50026 & 52026 & 54026 & 154 \\
+MDC3/4 6 & 0x1150 & 50027 & 52027 & 54027 & 155 \\
\hline
Shower 1 & 0x3200 & 50032 & 52032 & 54032 & 160 \\
Shower 2 & 0x3210 & 50033 & 52033 & 54033 & 161 \\
\item[Shower Hub (0x8501)] Port 1 to 6 connect to the Shower AddOn in each of the sectors.
\item[TOF Hub (0x8601)] Port 1 to 6 connect to the TRBs in each of the sectors, Port 7 is used for the additional TRB.
\item[Forward Wall (0x8701)] This hub connects the three TRB of Forward Wall. Ports 1 to 3 are used, connected in the same order as the TRB are numbered.
- \item[Start/Veto/CTS Hub (0x8801)] Port 1 connects to the Start-TRB, Port 2 to the Veto TRB, Port 3 to the CTS.
+ \item[Start/Veto/CTS Hub (0x8801)] Port 1 connects to the Start-TRB, Port 2 to the Veto TRB, Port 3 to the readout port of the CTS.
\end{description}
\subsection{MDC Hub}
B & Shower Pedestals\\
C & RICH Calibration\\
D & \\
-E & \\
+E & Status Information\\
F & \\
\end{tabular}
-\caption{Trigger Types. List is not complete. Triggers 8 to F are not sent in combination with a timing trigger.}
+\caption{Trigger Types. Triggers 8 to F are not sent in combination with a timing trigger.}
\label{Triggertypes}
\end{center}
\end{table}
\label{LVL1TrgInformation}
\end{center}
\end{table}
+
+
+
+
+\subsection{Trigger Types: 0xE - Status Information}
\part{Endpoints}
\section{The Endpoint}
\input{endpoint}
+\clearpage
+\section{The Media Interface}
+ \input{mediainterface}
\clearpage
\part{The Channels}
\begin{table}
\begin{center}
-\begin{tabular}{|c|l|l|}
+\begin{tabularx}{\textwidth}{|c|l|X|}
\hline
\textbf{Reg.} & \textbf{Bit} & \textbf{Description}\\
\hline\hline
-C0 & 5 -- 4 & 1: short MBO, 2: long MBO\\
-C1 & 27 -- 16 & Number of dummy data words (if enabled)\\
-C1 & 0 & Switch on blinking of LED to identify a board\\
+C0 & 5 -- 4 & 1: short MBO, 2: long MBO\\
+C0 & 25 -- 16 & Maximum number of data words per event \\
+C1 & 0 & Switch on blinking of LED to identify a board\\
+C1 & 8 & Suppress sending of a hit 0 without preceeding hit 1 from one channel. Note that this also suppresses double or triple hit 0. \\
+C1 & 9 & Suppress sending of a hit 1 without subsequent hit 0 from one channel \\
+C1 & 10 & Enable automatic reconfiguration in case of no token return \\
+C1 & 27 -- 16 & Number of dummy data words (if enabled)\\
+C2 & 10 -- 0 & Lower Threshold of TDC data for hit 0. Only data greater or equal are transported.\\
+C2 & 26 -- 16 & Lower Threshold of TDC data for hit 1. Only data greater or equal are transported.\\
\hline
-\end{tabular}
+\end{tabularx}
\caption{Control Registers on MDC OEP}
\label{MDCControlRegisters}
\end{center}
\end{table}
+
\begin{table}
\begin{center}
\begin{tabularx}{\textwidth}{|c|l|X|}
01 & common status register 1 & CSR1 & LVL1 trigger number (Bits 15..0), timing Trigger number (Bits 31..16) (r) \\
02 & common status register 2 & CSR2 & Status of LVL1 handler \\
03 & common status register 3 & CSR3 & Trigger input monitor. Bit 15..0: Edge count, Bit 31..16: Length of last pulse \\
+04 & common status register 4 & CSR4 & Link and reset status register \\
20 & common control register 0 & CCR0 & Strobes for board resets and test triggers (see below) (w)\\
21 & common control register 1 & CCR1 & Sets LVL1 trigger number (Bits 15..0) (r/w)\\
22 & common control register 2 & CCR2 & frontend enable, trigger enable, debug enable (r/w)\\
0 & serious error flag \\
\hline
\end{tabular}
-\caption{Common Status Register 0}
+\caption{Common Status Register 0 (CSR0)}
\label{CommonStatReg0}
\end{center}
\end{table}
\end{table}
+\begin{table}
+\begin{center}
+\begin{tabular}{|c|c|}
+\hline
+\textbf{Bits} & \textbf{Description} \\
+\hline\hline
+31 -- 9 & reserved \\
+8 & link error, e.g. code violation received \\
+7 -- 4 & reserved \\
+3 -- 0 & counter for received network resets \\
+\hline
+\end{tabular}
+\caption{Common Status Register 4 (CSR4)}
+\label{CommonCtrlReg4}
+\end{center}
+\end{table}
+
\begin{table}
\begin{center}