\label{fig:triggerinterface}
\end{figure}
+\begin{description}
+ \item [\portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out}] Trigger information, number, code and type are valid. The falling edge marks the sending of busy release to the CTS - might be used to reset the internal trigger state machines of the FEE.
+ \item [\portname{Lvl1\_\-Valid\_\-Timing\_\-Trg\_\-Out}] A timing trigger has been received and the internal state machine marked it as valid. Strobe signal, typically set 60~ns clock cycles after the trigger input goes high. Should be used to start state machines to handle normal triggers.
+ \item [\portname{Lvl1\_\-Valid\_\-Notiming\_\-Trg\_\-Out}] A valid timing-trigger-less LVL1 trigger has been received. Strobe signal, typically high in the same clock cycle as \portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out} goes high. Should be used to start state machines to handle TTL triggers.
+ \item [\portname{Lvl1\_\-Invalid\_\-Trg\_\-Out}] The current LVL1 trigger is invalid, there was no timing trigger
+
+ \item [\portname{Lvl1\_\-Trg\_\-Number\_\-Out}] (16 bit) Trigger number.
+ \item [\portname{Lvl1\_\-Trg\_\-Code\_\-Out}] (8 bit) A random code generated by CTS that has to be stored and put to the IPU data stream.
+ \item [\portname{Lvl1\_\-Trg\_\-Information\_\-Out}] (24 bit) Additional information about trigger as explained in the corresponding section.
+ \item [\portname{Lvl1\_\-Trg\_\-Type\_\-Out}] (4 bit) The trigger type.
+ \item [\portname{Lvl1\_\-Int\_\-Trg\_\-Number\_\-Out}] (16 bit) Internally generated trigger number. This number is always valid, despite within 50 ns after the falling edge of \portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out}.
+
+ \item [\portname{Lvl1\_\-Error\_\-Pattern\_\-In} / \portname{Fee\_\-Trg\_\-Statusbits\_\-In}] (32 bit) Error and status bits as explained in the corresponding section. Must be valid when \portname{Lvl1\_\-Trg\_\-Release} is high.
+ \item [\portname{Lvl1\_\-Trg\_\-Release\_\-In} / \portname{Fee\_\-Trg\_\-Release\_\-In}] Releases the trigger busy. Has to be set in any case where \portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out} is high. Length must be at least one clock cycle.
+
+ \item [\portname{Lvl1\_\-Spike\_\-Detected\_\-Out}] A spike on the timing trigger input has been detected. Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-Missing\_\-TmgTrg\_\-Out}] A LVL1 trigger without preceeding timing trigger has been found. Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-TmgTrg\_\-Timeout\_\-Out}] Time between timing trigger and LVL1 trigger was very long (>20us). Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-Multiple\_\-TmgTrg\_\-Out}] There have been multiple timing triggers on the input Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-Spurious\_\-TmgTrg\_\-Out}] There was a timing trigger before a TTL trigger.
+
+\end{description}
+
+
+
+
% \begin{description}
%
% \item [\portname{Lvl1\_\-valid\_\-timing\_\-trg\_\-out}] A timing trigger has been received and the internal state machine marked it as valid. Typically set 2 to 5 clock cycles after \portname{trg\_\-timing\_\-trg\_\-received\_\-in} was high.
% \item [\portname{Lvl1\_\-valid\_\-notiming\_\-trg\_\-out}] A valid timing-trigger-less LVL1 trigger has been received. Typically high 1 to 2 clock cycles after the rising edge of \portname{Lvl1\_\-trg\_\-data\_\-valid\_\-out}.
% \item [\portname{Lvl1\_\-invalid\_\-trg\_\-out}] A trigger (either timing trigger or LVL1 trigger) has been received which has been marked invalid by the internal state machine. E.g. to timing triggers without a LVL1 trigger or a LVL1 trigger without preceeding timing trigger has been detected.
-% \item [\portname{Lvl1\_\-trg\_\-type\_\-out}] The trigger type, similar to the old system.
+%
% \item [\portname{Lvl1\_\-trg\_\-data\_\-valid\_\-out}] Rising edge marks that a LVL1 trigger information has been received. Falling edge comes after user set \portname{Lvl1\_\-Trg\_\-Release}. While high, all trigger information ports, namely \portname{Lvl1\_\-Trg\_\-Type}, \portname{Lvl1\_\-Trg\_\-Number}, \portname{Lvl1\_\-Trg\_\-Code} and \portname{Lvl1\_\-Trg\_\-In\-for\-ma\-tion} are valid.
% \item [\portname{Lvl1\_\-trg\_\-number\_\-out}] (16 bit) Trigger number.
% \item [\portname{Lvl1\_\-trg\_\-code\_\-out}] (8 bit) A random code generated by CTS that has to be stored and put to the IPU data stream.