\XtoCBlock{HighpassBiQ}
\label{block:HighpassBiQ}
\begin{figure}[H]\includegraphics{HighpassBiQ}\end{figure} 
Calculates the filter coefficients for a second order highpass and performs filtering on input signal.

Second order transfer function used:

    H(z) = (b0.z\textsuperscript{2} + b1.z + b2) / (z\textsuperscript{2} + a1.z + a2)

\begin{XtoCtabular}{Inports}
In & Input In(k)\\
\hline
\end{XtoCtabular}


\begin{XtoCtabular}{Outports}
Out & Output Out(k)\\
\hline
\end{XtoCtabular}

\begin{XtoCMaskParamTabular}{Mask Parameters}
characteristic & 1 & The filter characteristic is one of Butterworth, Chebyshev I, Chebyshev II (also known as inverse Chebyshev) or Bessel\\
\hline
fc & 2 & Cut-off frequency in Hz\\
\hline
rp & 3 & The passband ripple is only used and verified with 'Chebyshev I' filters.

Must be a positive number\\
\hline
rs & 4 & The stopband ripple is only used and verified with 'Chebyshev II' filters.

Must be a positive number\\
\hline
ts\_fact & 5 & Multiplication factor of base sampling time (in integer format)\\
\hline
\end{XtoCMaskParamTabular}

\ifdefined \XcOverviewDocu
% omit optional documentation file
\else
% include optional documentation file
\IfFileExists{\XcHomePath/Library/Filter/Doc/HighpassBiQ_Info.tex}
  {\subsubsection*{Description:}
   \input{\XcHomePath/Library/Filter/Doc/HighpassBiQ_Info.tex}}
  {\vspace{1ex}}
\fi

\subsubsection*{Implementations:}
\begin{tabular}{l l}
\textbf{FiP16} & 16 Bit Fixed Point Implementation\\
\textbf{FiP32} & 32 Bit Fixed Point Implementation\\
\textbf{Float32} & 32 Bit Floating Point Implementation\\
\textbf{Float64} & 64 Bit Floating Point Implementation\\
\end{tabular}

\ifdefined \XcOverviewDocu
% omit implementation details and test reports
\else
\XtoCImplementation{FiP16}
\nopagebreak[0]

16 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & int16\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int16\\
\hline
\end{XtoCtabular}

\XtoCImplementation{FiP32}
\nopagebreak[0]

32 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & int32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float32}
\nopagebreak[0]

32 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & float32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & float32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float64}
\nopagebreak[0]

64 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & float64\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & float64\\
\hline
\end{XtoCtabular}

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_HighpassBiQ_FiP16.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_HighpassBiQ_FiP32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_HighpassBiQ_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_HighpassBiQ_Float64.tex}{}{}
\fi
\fi
