Commit a1999c8c authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

doc/conv-regs.tex: Add refs and small changes in text

Also, update corresponding conv-regs.wb
parent 28a296b2
\subsection{Converter board registers}
\label{subsec:wbgen:reg}
\label{app:conv-regs}
Base address: 0x000
{
......@@ -64,6 +64,7 @@ is plugged into the channel or not.
\vspace{11pt}
\subsubsection{BIDR -- Board ID Register}
\label{app:conv-regs-bidr}
\vspace{11pt}
\noindent
......@@ -102,6 +103,7 @@ Reset value: \textit{g\_board\_id}
\end{itemize}
\vspace{11pt}
\subsubsection{SR -- Status Register}
\label{app:conv-regs-sr}
\vspace{11pt}
\noindent
......@@ -137,7 +139,7 @@ Leftmost nibble hex value is major release decimal value \\
\item \begin{small}
{\bf
SWITCHES
} [\emph{read-only}]: Status of on-board switches
} [\emph{read-only}]: Status of on-board general-purpose switches
\\
1 -- switch is ON \\ 0 -- switch is OFF
\end{small}
......@@ -182,6 +184,7 @@ PMISSE
\end{itemize}
\vspace{11pt}
\subsubsection{CR -- Control Register}
\label{app:conv-regs-cr}
\vspace{11pt}
\noindent
......@@ -234,6 +237,7 @@ Write the following sequence to trigger a pulse: \\ 0xde --
\end{itemize}
\vspace{11pt}
\subsubsection{CH1PCR -- Channel 1 Pulse Counter Register}
\label{app:conv-regs-ch1pcr}
\vspace{11pt}
\noindent
......@@ -270,6 +274,7 @@ CH1PCR
\end{itemize}
\vspace{11pt}
\subsubsection{CH2PCR -- Channel 2 Pulse Counter Register}
\label{app:conv-regs-ch2pcr}
\vspace{11pt}
\noindent
......@@ -306,6 +311,7 @@ CH2PCR
\end{itemize}
\vspace{11pt}
\subsubsection{CH3PCR -- Channel 3 Pulse Counter Register}
\label{app:conv-regs-ch3pcr}
\vspace{11pt}
\noindent
......@@ -342,6 +348,7 @@ CH3PCR
\end{itemize}
\vspace{11pt}
\subsubsection{CH4PCR -- Channel 4 Pulse Counter Register}
\label{app:conv-regs-ch4pcr}
\vspace{11pt}
\noindent
......@@ -378,6 +385,7 @@ CH4PCR
\end{itemize}
\vspace{11pt}
\subsubsection{CH5PCR -- Channel 5 Pulse Counter Register}
\label{app:conv-regs-ch5pcr}
\vspace{11pt}
\noindent
......@@ -414,6 +422,7 @@ CH5PCR
\end{itemize}
\vspace{11pt}
\subsubsection{CH6PCR -- Channel 6 Pulse Counter Register}
\label{app:conv-regs-ch6pcr}
\vspace{11pt}
\noindent
......@@ -450,6 +459,7 @@ CH6PCR
\end{itemize}
\vspace{11pt}
\subsubsection{TVLR -- Time Value Low Register}
\label{app:conv-regs-tvlr}
\vspace{11pt}
\noindent
......@@ -488,6 +498,7 @@ Writing this field resets the internal cycles counter.
\end{itemize}
\vspace{11pt}
\subsubsection{TVHR -- Time Value High Register}
\label{app:conv-regs-tvhr}
\vspace{11pt}
\noindent
......@@ -526,6 +537,7 @@ Writing this field resets the internal cycles counter.
\end{itemize}
\vspace{11pt}
\subsubsection{TBMR -- Tag Buffer Meta Register}
\label{app:conv-regs-tbmr}
\vspace{11pt}
\noindent
......@@ -574,6 +586,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{TBCYR -- Tag Buffer Cycles Register}
\label{app:conv-regs-tbcyr}
\vspace{11pt}
\noindent
......@@ -612,6 +625,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{TBTLR -- Tag Buffer TAI Low Register}
\label{app:conv-regs-tbtlr}
\vspace{11pt}
\noindent
......@@ -651,6 +665,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\pagebreak
\vspace{11pt}
\subsubsection{TBTHR -- Tag Buffer TAI High Register}
\label{app:conv-regs-tbthr}
\vspace{11pt}
\noindent
......@@ -689,6 +704,7 @@ Value of the TAI seconds counter bits 39..32 when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{TBCSR -- Tag Buffer Control and Status Register}
\label{app:conv-regs-tbcsr}
\vspace{11pt}
\noindent
......@@ -748,6 +764,7 @@ CLR
\end{itemize}
\vspace{11pt}
\subsubsection{CH1LTSCYR -- Channel 1 Latest Timestamp Cycles Register}
\label{app:conv-regs-ch1ltscyr}
\vspace{11pt}
\noindent
......@@ -786,6 +803,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH1LTSTLR -- Channel 1 Latest Timestamp TAI Low Register}
\label{app:conv-regs-ch1ltstlr}
\vspace{11pt}
\noindent
......@@ -826,6 +844,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\pagebreak
\subsubsection{CH1LTSTHR -- Channel 1 Latest Timestamp TAI High Register}
\label{app:conv-regs-ch1ltsthr}
\vspace{11pt}
\noindent
......@@ -871,6 +890,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{CH2LTSCYR -- Channel 2 Latest Timestamp Cycles Register}
\label{app:conv-regs-ch2ltscyr}
\vspace{11pt}
\noindent
......@@ -909,6 +929,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH2LTSTLR -- Channel 2 Latest Timestamp TAI Low Register}
\label{app:conv-regs-ch2ltstlr}
\vspace{11pt}
\noindent
......@@ -947,6 +968,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH2LTSTHR -- Channel 2 Latest Timestamp TAI High Register}
\label{app:conv-regs-ch2ltsthr}
\vspace{11pt}
\noindent
......@@ -992,6 +1014,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{CH3LTSCYR -- Channel 3 Latest Timestamp Cycles Register}
\label{app:conv-regs-ch3ltscyr}
\vspace{11pt}
\noindent
......@@ -1030,6 +1053,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH3LTSTLR -- Channel 3 Latest Timestamp TAI Low Register}
\label{app:conv-regs-ch3ltstlr}
\vspace{11pt}
\noindent
......@@ -1070,6 +1094,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\pagebreak
\subsubsection{CH3LTSTHR -- Channel 3 Latest Timestamp TAI High Register}
\label{app:conv-regs-ch3ltsthr}
\vspace{11pt}
\noindent
......@@ -1115,6 +1140,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{CH4LTSCYR -- Channel 4 Latest Timestamp Cycles Register}
\label{app:conv-regs-ch4ltscyr}
\vspace{11pt}
\noindent
......@@ -1153,6 +1179,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH4LTSTLR -- Channel 4 Latest Timestamp TAI Low Register}
\label{app:conv-regs-ch4ltstlr}
\vspace{11pt}
\noindent
......@@ -1191,6 +1218,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH4LTSTHR -- Channel 4 Latest Timestamp TAI High Register}
\label{app:conv-regs-ch4ltsthr}
\vspace{11pt}
\noindent
......@@ -1236,6 +1264,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{CH5LTSCYR -- Channel 5 Latest Timestamp Cycles Register}
\label{app:conv-regs-ch5ltscyr}
\vspace{11pt}
\noindent
......@@ -1274,6 +1303,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH5LTSTLR -- Channel 5 Latest Timestamp TAI Low Register}
\label{app:conv-regs-ch5ltstlr}
\vspace{11pt}
\noindent
......@@ -1314,6 +1344,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\pagebreak
\subsubsection{CH5LTSTHR -- Channel 5 Latest Timestamp TAI High Register}
\label{app:conv-regs-ch5ltsthr}
\vspace{11pt}
\noindent
......@@ -1359,6 +1390,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{CH6LTSCYR -- Channel 6 Latest Timestamp Cycles Register}
\label{app:conv-regs-ch6ltscyr}
\vspace{11pt}
\noindent
......@@ -1397,6 +1429,7 @@ Value of the 8-ns cycles counter when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH6LTSTLR -- Channel 6 Latest Timestamp TAI Low Register}
\label{app:conv-regs-ch6ltstlr}
\vspace{11pt}
\noindent
......@@ -1435,6 +1468,7 @@ Value of the TAI seconds counter bits 31..0 when time tag was taken.
\end{itemize}
\vspace{11pt}
\subsubsection{CH6LTSTHR -- Channel 6 Latest Timestamp TAI High Register}
\label{app:conv-regs-ch6ltsthr}
\vspace{11pt}
\noindent
......@@ -1480,6 +1514,7 @@ WRTAG
\end{itemize}
\vspace{11pt}
\subsubsection{LSR -- Line Status Register}
\label{app:conv-regs-lsr}
\vspace{11pt}
\noindent
......@@ -1541,6 +1576,7 @@ High if line is in failsafe mode (no cable plugged in)\\ Bit 0 -- channel 1
\pagebreak
\subsubsection{MSWR -- Multicast Switch Register}
\label{app:conv-regs-mswr}
\vspace{11pt}
\noindent
......@@ -1560,7 +1596,7 @@ High if line is in failsafe mode (no cable plugged in)\\ Bit 0 -- channel 1
\hline
7 & 6 & 5 & 4 & 3 & 2 & 1 & 0\\
\hline
\multicolumn{1}{|c}{-} & - & - & - & \multicolumn{4}{|c|}{\cellcolor{gray!25}BIT[3:0]}\\
\multicolumn{1}{|c}{-} & - & - & - & \multicolumn{4}{|c|}{\cellcolor{gray!25}SWITCHES[3:0]}\\
\hline
\end{tabular}
}
......@@ -1568,8 +1604,8 @@ High if line is in failsafe mode (no cable plugged in)\\ Bit 0 -- channel 1
\begin{itemize}
\item \begin{small}
{\bf
BIT
} [\emph{read-only}]: State of MultiCast switches
SWITCHES
} [\emph{read-only}]: Multicast address (from switch)
\\
1 -- switch is ON \\ 0 -- switch is OFF
\end{small}
......
......@@ -76,7 +76,7 @@ peripheral {
access_bus = READ_ONLY;
};
field {
name = "Status of on-board switches";
name = "Status of on-board general-purpose switches";
description = "1 -- switch is ON \
0 -- switch is OFF";
prefix = "switches";
......@@ -790,10 +790,10 @@ peripheral {
description = "Multicast Switch Register";
prefix = "mswr";
field {
name = "State of multicast switches";
name = "Multicast address (from switch)";
description = "1 -- switch is ON \
0 -- switch is OFF";
prefix = "bit";
prefix = "switches";
type = SLV;
size = 4;
access_dev = WRITE_ONLY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment