You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1008 lines
40 KiB
TeX
1008 lines
40 KiB
TeX
\hypertarget{functions_8c}{}\doxysection{functions.\+c-\/Dateireferenz}
|
|
\label{functions_8c}\index{functions.c@{functions.c}}
|
|
|
|
|
|
Diverse Funktionen.
|
|
|
|
|
|
{\ttfamily \#include \char`\"{}functions.\+h\char`\"{}}\newline
|
|
Include-\/\+Abhängigkeitsdiagramm für functions.\+c\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{functions_8c__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Funktionen}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
void \mbox{\hyperlink{functions_8c_ada3125b546b3115e7afc2e51bc7db894}{Delay\+Milli\+Seconds}} (uint16\+\_\+t ms)
|
|
\begin{DoxyCompactList}\small\item\em Zeitschleife von 1-\/65535 Millisekunden. \end{DoxyCompactList}\item
|
|
uint16\+\_\+t \mbox{\hyperlink{functions_8c_a682e380769f82867a41c13d632bb3cca}{Get\+Milli\+Seconds}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Zählerwert für Zeitschleifen auslesen. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a318f7eb176f7797e0166cbd652855a3c}{Reset\+Milli\+Seconds}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Setzt den Millisekundenzähler für Zeitschleifen auf 0. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_ab321d23dfab578b6a40f3c5e8894c280}{Int\+Enable}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Register wieder herstellen und Interrupts erlauben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_ae2f4a274ba95c3e94edd58ce6f129de4}{Int\+Disable}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Register sichern und Interrupts verbieten. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a586bc00ad3164def7ec76ac9bda4f1bc}{Write\+EEprom}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Akt. Einstellungen in EEPROM schreiben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a3435bb0409b2c91ab253f4bd4cdc03e1}{Read\+EEprom\+WpM}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Gespeicherte Einstellung für die Geschwindigkeit aus EEprom lesen. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a838ffc3ce94fc8c85429e5297a185022}{Write\+EEprom\+WpM}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Akt. Einstellung für die Geschwindigkeit in EEprom schreiben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a4e592b116ccf5c55bbb5979bb7193981}{Set\+EEprom}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Standardeinstellungen (bei neuem Controller) \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_adf7f3486f66ae3386f330a5172dfdf52}{Read\+EEprom}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Einstellungen aus dem EEprom lesen. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a8684d17e55772fc84a10c9e778705eda}{Serial\+Write\+Char}} (unsigned char data)
|
|
\begin{DoxyCompactList}\small\item\em Ein Zeichen über serielle Schnittstelle ausgeben. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{functions_8c_ac2bac61999066f61501cd244a237192e}\label{functions_8c_ac2bac61999066f61501cd244a237192e}}
|
|
void {\bfseries Serial\+Write\+String} (char $\ast$s)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8c_aa037229dc16e974a22eedcd6990a7b9d}{Sidetone\+On}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Mithörton einschalten. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_ad82537f7ea58b4eb375952ce52615c4d}{Sidetone\+Off}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Mithörton ausschalten. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_ae8011166e9324f9f3c6948249eb15fd1}{Sidetone\+Disable}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Audioverstärker abschalten. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a60f2f041b0803584ba5fc2e0a373ed50}{Sidetone\+Enable}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Audioverstärker einschalten. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_aafcd99a76b601d8b43b6827d414ccddb}{TXKey}} (uint8\+\_\+t \mbox{\hyperlink{structState}{State}})
|
|
\begin{DoxyCompactList}\small\item\em Gibt ein Symbol aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a4010a7257caeca55f68c98ee199d3ea2}{Check\+Buttons}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Fragt die Taster ab und löst entsprechende Funktion aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a68bed2cd125260e9c6eb7f6f8e0c9106}{Check\+Straight\+Key}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Fragt die Handtasteneingänge ab und gibt das entsprechende Symbol aus. Bei der Handtaste findet über einen Timer eine Entprellung statt. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a9bd61bc3c9e38f6b325e4ba3f96d9472}{Check\+Paddles}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Diese Funktion prüft, ob ein Paddle betätigt wurde. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a7783dcd27ef486bce541c85e10131394}{Check\+Dit\+Paddle}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Prüfen, ob das Punkt Paddle betätigt wurde. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_ac0bccd022514697217eaf063b1b2c0fa}{Check\+Dah\+Paddle}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Prüfen, ob das Strich Paddle betätigt wurde. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_aa0e063cf32b840a3ed51ae9aa677e2be}{Set\+Ratio}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Berechnung der Zeitdauer für Punkt und Strich. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{functions_8c_a7a31f60576d112eca1abddf447df8248}\label{functions_8c_a7a31f60576d112eca1abddf447df8248}}
|
|
void {\bfseries Set\+Weight} (void)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8c_a3e6e9a204e6bac15fdc0fe500390517c}{Send\+Symbol}} (uint8\+\_\+t Dit)
|
|
\begin{DoxyCompactList}\small\item\em Symbol senden. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a22d2dd23cb17e53e75c7d6366d9205d6}{Send\+Dit}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Gibt einen Punkt aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a3dfd0f785e0377a124c423ac5ef8ddde}{Send\+Dah}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Gibt einen Strich aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a683e588b64df83d67f1342ed5eeb099b}{Send\+Iambic}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Wenn beide Paddle betätigt sind, wird alternierend ein Punkt und Strich ausgegeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_af3375f394993997701d75ee441810edc}{Set\+Frequency}} (uint16\+\_\+t f)
|
|
\begin{DoxyCompactList}\small\item\em Verändert die Frequenz des Mithörtons. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a859cf4a556750b8aa340761627fb6c42}{Tone}} (uint16\+\_\+t f, uint8\+\_\+t duration)
|
|
\begin{DoxyCompactList}\small\item\em Ausgabe eines Tons mit Dauer und Frequenz. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a0366eaeb4aab61562dcd5b24994d0103}{Boop}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Boop Ton ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a2f616a93763b4bc437c4311d653c0491}{Beep}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Beep Ton ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a72913eefa74c0c044d815a0b759577fa}{Beep\+Boop}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Beep\+Boop Doppelton ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a33edcf2aa23f97390659434ead6ef593}{Send\+String}} (char $\ast$s)
|
|
\begin{DoxyCompactList}\small\item\em Gibt eine Zeichenkette als Morsecode aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8c_a49e16203823a4921910161bd2610987a}{Send\+Char}} (unsigned char c)
|
|
\begin{DoxyCompactList}\small\item\em Gibt ein Zeichen aus. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Variablen}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{functions_8c_a763e48e059d99b10646ca16a7e177df8}\label{functions_8c_a763e48e059d99b10646ca16a7e177df8}}
|
|
uint8\+\_\+t {\bfseries Dummy}
|
|
\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a42f0b8f91ce6b2a23dd6ff8672d13b95}{ee\+\_\+\+Dummy}} = 0x55
|
|
\begin{DoxyCompactList}\small\item\em Dummy for Address 0. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a1c70858b9aea8006017b70d201604a96}{ee\+\_\+\+Trx1}} = 0
|
|
\begin{DoxyCompactList}\small\item\em TRX 1. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a6f6cc3866f25698f6f9185e422ce7b8c}{ee\+\_\+\+Trx2}} = 0
|
|
\begin{DoxyCompactList}\small\item\em TRX 2. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a169f1099862f2dc874d344eb240fd8c2}{ee\+\_\+\+Keyer\+Mode}} = 1
|
|
\begin{DoxyCompactList}\small\item\em Iambic A, Iambic B oder Ultimatic. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a8f9b2a72d7b1d5f1c28673c36a51a33a}{ee\+\_\+\+Sidetone\+Enabled}} = 1
|
|
\begin{DoxyCompactList}\small\item\em Mithörton eingeschaltet. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a7c955b77d04539b88678e94d72deeef0}{ee\+\_\+\+Wp\+MBpM}} = 0
|
|
\begin{DoxyCompactList}\small\item\em WpM oder BpM Anzeige. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_ad5a1c7f3fe4cc3af1873519f70586866}{ee\+\_\+\+Reverse}} = 0
|
|
\begin{DoxyCompactList}\small\item\em linkes/rechtes Paddle vertauschen \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a3f1e9ffbb5d98febdd58a4fa82b01f30}{ee\+\_\+\+Mem\+Button\+Mode}} = 0
|
|
\begin{DoxyCompactList}\small\item\em Funktion des ersten Tasters (MEM5) \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a8814741a33f0a4f2e14eee14d8c00dad}{ee\+\_\+\+Ratio}} = 30
|
|
\begin{DoxyCompactList}\small\item\em Punkt/\+Strich Verhältnis 1\+:3. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_ac8f8c751bbe43f711df2e1ba13f79994}{ee\+\_\+\+Weight}} = 50
|
|
\begin{DoxyCompactList}\small\item\em Punkt/\+Strich Gewichtung. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a5f69205a6897625598ead5ab6a740fc7}{ee\+\_\+\+Memory}} = 0
|
|
\begin{DoxyCompactList}\small\item\em Punkt/\+Strich Speicher. \end{DoxyCompactList}\item
|
|
uint16\+\_\+t \mbox{\hyperlink{functions_8c_a025c31b4a3c9adca80df2782808579a7}{ee\+\_\+\+Sidetone\+Freq}} = 600
|
|
\begin{DoxyCompactList}\small\item\em Frequenz des Mithörtons. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_af636ee63fad94f56f61f334e0c2e46b0}{ee\+\_\+\+WpM}} = 12
|
|
\begin{DoxyCompactList}\small\item\em Geschwindigkeit WpM. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_acde6a28c5a5747443f823ff09dce682b}{ee\+\_\+\+Rise\+Time}} = 5
|
|
\begin{DoxyCompactList}\small\item\em Anstiegszeit Sinuston. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_a138d8a4a73593b01e9ffdfebc7134c89}{ee\+\_\+\+Rise\+Time\+Counter}} = 5
|
|
\begin{DoxyCompactList}\small\item\em Anzahl Sinusschwingungen für den Anstieg. \end{DoxyCompactList}\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8c_af46a7ac73709b59ac331e84016c6600f}{ee\+\_\+\+Debounce\+Time}} = 6
|
|
\begin{DoxyCompactList}\small\item\em Entprellzeit für Straight Key Eingang. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Ausführliche Beschreibung}
|
|
Diverse Funktionen.
|
|
|
|
|
|
|
|
\doxysubsection{Dokumentation der Funktionen}
|
|
\mbox{\Hypertarget{functions_8c_a2f616a93763b4bc437c4311d653c0491}\label{functions_8c_a2f616a93763b4bc437c4311d653c0491}}
|
|
\index{functions.c@{functions.c}!Beep@{Beep}}
|
|
\index{Beep@{Beep}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{Beep()}{Beep()}}
|
|
{\footnotesize\ttfamily void Beep (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Beep Ton ausgeben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a72913eefa74c0c044d815a0b759577fa}\label{functions_8c_a72913eefa74c0c044d815a0b759577fa}}
|
|
\index{functions.c@{functions.c}!BeepBoop@{BeepBoop}}
|
|
\index{BeepBoop@{BeepBoop}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{BeepBoop()}{BeepBoop()}}
|
|
{\footnotesize\ttfamily void Beep\+Boop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Beep\+Boop Doppelton ausgeben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a0366eaeb4aab61562dcd5b24994d0103}\label{functions_8c_a0366eaeb4aab61562dcd5b24994d0103}}
|
|
\index{functions.c@{functions.c}!Boop@{Boop}}
|
|
\index{Boop@{Boop}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{Boop()}{Boop()}}
|
|
{\footnotesize\ttfamily void Boop (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Boop Ton ausgeben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a4010a7257caeca55f68c98ee199d3ea2}\label{functions_8c_a4010a7257caeca55f68c98ee199d3ea2}}
|
|
\index{functions.c@{functions.c}!CheckButtons@{CheckButtons}}
|
|
\index{CheckButtons@{CheckButtons}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{CheckButtons()}{CheckButtons()}}
|
|
{\footnotesize\ttfamily void Check\+Buttons (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Fragt die Taster ab und löst entsprechende Funktion aus.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_ac0bccd022514697217eaf063b1b2c0fa}\label{functions_8c_ac0bccd022514697217eaf063b1b2c0fa}}
|
|
\index{functions.c@{functions.c}!CheckDahPaddle@{CheckDahPaddle}}
|
|
\index{CheckDahPaddle@{CheckDahPaddle}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{CheckDahPaddle()}{CheckDahPaddle()}}
|
|
{\footnotesize\ttfamily void Check\+Dah\+Paddle (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Prüfen, ob das Strich Paddle betätigt wurde.
|
|
|
|
\begin{DoxyVerb} Ist dies der Fall, wird das Statusbit gesetzt. Wurde in den
|
|
Einstellungen der Reverse Mode aktiviert, werden in der
|
|
Abfrage die Paddle vertauscht.
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a7783dcd27ef486bce541c85e10131394}\label{functions_8c_a7783dcd27ef486bce541c85e10131394}}
|
|
\index{functions.c@{functions.c}!CheckDitPaddle@{CheckDitPaddle}}
|
|
\index{CheckDitPaddle@{CheckDitPaddle}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{CheckDitPaddle()}{CheckDitPaddle()}}
|
|
{\footnotesize\ttfamily void Check\+Dit\+Paddle (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Prüfen, ob das Punkt Paddle betätigt wurde.
|
|
|
|
\begin{DoxyVerb} Ist dies der Fall, wird das Statusbit gesetzt.Wurde in den
|
|
Einstellungen der Reverse Mode aktiviert, werden in der
|
|
Abfrage die Paddle vertauscht.
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a9bd61bc3c9e38f6b325e4ba3f96d9472}\label{functions_8c_a9bd61bc3c9e38f6b325e4ba3f96d9472}}
|
|
\index{functions.c@{functions.c}!CheckPaddles@{CheckPaddles}}
|
|
\index{CheckPaddles@{CheckPaddles}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{CheckPaddles()}{CheckPaddles()}}
|
|
{\footnotesize\ttfamily void Check\+Paddles (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Diese Funktion prüft, ob ein Paddle betätigt wurde.
|
|
|
|
\begin{DoxyVerb} Wenn dies der Fall war, ist das jeweilige Statusbit gesetzt
|
|
und die Funktion für die Ausgabe des entsprechenden Symbols
|
|
wird aufgerufen.
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a68bed2cd125260e9c6eb7f6f8e0c9106}\label{functions_8c_a68bed2cd125260e9c6eb7f6f8e0c9106}}
|
|
\index{functions.c@{functions.c}!CheckStraightKey@{CheckStraightKey}}
|
|
\index{CheckStraightKey@{CheckStraightKey}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{CheckStraightKey()}{CheckStraightKey()}}
|
|
{\footnotesize\ttfamily void Check\+Straight\+Key (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Fragt die Handtasteneingänge ab und gibt das entsprechende Symbol aus. Bei der Handtaste findet über einen Timer eine Entprellung statt.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_ada3125b546b3115e7afc2e51bc7db894}\label{functions_8c_ada3125b546b3115e7afc2e51bc7db894}}
|
|
\index{functions.c@{functions.c}!DelayMilliSeconds@{DelayMilliSeconds}}
|
|
\index{DelayMilliSeconds@{DelayMilliSeconds}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{DelayMilliSeconds()}{DelayMilliSeconds()}}
|
|
{\footnotesize\ttfamily void Delay\+Milli\+Seconds (\begin{DoxyParamCaption}\item[{uint16\+\_\+t}]{ms }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Zeitschleife von 1-\/65535 Millisekunden.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em ms} & Anzahl Millisekunden \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a682e380769f82867a41c13d632bb3cca}\label{functions_8c_a682e380769f82867a41c13d632bb3cca}}
|
|
\index{functions.c@{functions.c}!GetMilliSeconds@{GetMilliSeconds}}
|
|
\index{GetMilliSeconds@{GetMilliSeconds}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{GetMilliSeconds()}{GetMilliSeconds()}}
|
|
{\footnotesize\ttfamily uint16\+\_\+t Get\+Milli\+Seconds (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Zählerwert für Zeitschleifen auslesen.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em Millisekunden} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_ae2f4a274ba95c3e94edd58ce6f129de4}\label{functions_8c_ae2f4a274ba95c3e94edd58ce6f129de4}}
|
|
\index{functions.c@{functions.c}!IntDisable@{IntDisable}}
|
|
\index{IntDisable@{IntDisable}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{IntDisable()}{IntDisable()}}
|
|
{\footnotesize\ttfamily void Int\+Disable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Register sichern und Interrupts verbieten.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_ab321d23dfab578b6a40f3c5e8894c280}\label{functions_8c_ab321d23dfab578b6a40f3c5e8894c280}}
|
|
\index{functions.c@{functions.c}!IntEnable@{IntEnable}}
|
|
\index{IntEnable@{IntEnable}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{IntEnable()}{IntEnable()}}
|
|
{\footnotesize\ttfamily void Int\+Enable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Register wieder herstellen und Interrupts erlauben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_adf7f3486f66ae3386f330a5172dfdf52}\label{functions_8c_adf7f3486f66ae3386f330a5172dfdf52}}
|
|
\index{functions.c@{functions.c}!ReadEEprom@{ReadEEprom}}
|
|
\index{ReadEEprom@{ReadEEprom}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ReadEEprom()}{ReadEEprom()}}
|
|
{\footnotesize\ttfamily void Read\+EEprom (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Einstellungen aus dem EEprom lesen.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a3435bb0409b2c91ab253f4bd4cdc03e1}\label{functions_8c_a3435bb0409b2c91ab253f4bd4cdc03e1}}
|
|
\index{functions.c@{functions.c}!ReadEEpromWpM@{ReadEEpromWpM}}
|
|
\index{ReadEEpromWpM@{ReadEEpromWpM}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ReadEEpromWpM()}{ReadEEpromWpM()}}
|
|
{\footnotesize\ttfamily void Read\+EEprom\+WpM (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Gespeicherte Einstellung für die Geschwindigkeit aus EEprom lesen.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a318f7eb176f7797e0166cbd652855a3c}\label{functions_8c_a318f7eb176f7797e0166cbd652855a3c}}
|
|
\index{functions.c@{functions.c}!ResetMilliSeconds@{ResetMilliSeconds}}
|
|
\index{ResetMilliSeconds@{ResetMilliSeconds}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ResetMilliSeconds()}{ResetMilliSeconds()}}
|
|
{\footnotesize\ttfamily void Reset\+Milli\+Seconds (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Setzt den Millisekundenzähler für Zeitschleifen auf 0.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a49e16203823a4921910161bd2610987a}\label{functions_8c_a49e16203823a4921910161bd2610987a}}
|
|
\index{functions.c@{functions.c}!SendChar@{SendChar}}
|
|
\index{SendChar@{SendChar}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SendChar()}{SendChar()}}
|
|
{\footnotesize\ttfamily void Send\+Char (\begin{DoxyParamCaption}\item[{unsigned char}]{c }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Gibt ein Zeichen aus.
|
|
|
|
\begin{DoxyVerb} Mit dieser Symboltabelle werden die Zeichen
|
|
der Textspeicher gesendet
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em c} & Zeichen, das Ausgegeben wird \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a3dfd0f785e0377a124c423ac5ef8ddde}\label{functions_8c_a3dfd0f785e0377a124c423ac5ef8ddde}}
|
|
\index{functions.c@{functions.c}!SendDah@{SendDah}}
|
|
\index{SendDah@{SendDah}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SendDah()}{SendDah()}}
|
|
{\footnotesize\ttfamily void Send\+Dah (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Gibt einen Strich aus.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a22d2dd23cb17e53e75c7d6366d9205d6}\label{functions_8c_a22d2dd23cb17e53e75c7d6366d9205d6}}
|
|
\index{functions.c@{functions.c}!SendDit@{SendDit}}
|
|
\index{SendDit@{SendDit}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SendDit()}{SendDit()}}
|
|
{\footnotesize\ttfamily void Send\+Dit (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Gibt einen Punkt aus.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a683e588b64df83d67f1342ed5eeb099b}\label{functions_8c_a683e588b64df83d67f1342ed5eeb099b}}
|
|
\index{functions.c@{functions.c}!SendIambic@{SendIambic}}
|
|
\index{SendIambic@{SendIambic}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SendIambic()}{SendIambic()}}
|
|
{\footnotesize\ttfamily void Send\+Iambic (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Wenn beide Paddle betätigt sind, wird alternierend ein Punkt und Strich ausgegeben.
|
|
|
|
Beim Iambic B Mode und Ultimatic Mode wird gegebenenfalls noch ein gegensätzliches Zeichen des zuletzt betätigten Paddle angefügt. Erläuterung und Timing siehe Dokumentation.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a33edcf2aa23f97390659434ead6ef593}\label{functions_8c_a33edcf2aa23f97390659434ead6ef593}}
|
|
\index{functions.c@{functions.c}!SendString@{SendString}}
|
|
\index{SendString@{SendString}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SendString()}{SendString()}}
|
|
{\footnotesize\ttfamily void Send\+String (\begin{DoxyParamCaption}\item[{char $\ast$}]{s }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Gibt eine Zeichenkette als Morsecode aus.
|
|
|
|
\begin{DoxyVerb} Wenn die Zeichenkette ein Leerzeichen enthält, wird dieses als Pause
|
|
zwischen zwei Wörtern interpretiert und eine Pause der Länge von 7
|
|
Dits (in Abhängigkeit der eingestellten Geschwindigkeit) wird eingefügt
|
|
Zwischen einzelnen Zeichen wird eine Pause von 3 Dits eingefügt
|
|
\end{DoxyVerb}
|
|
\begin{DoxyRefDesc}{Noch zu erledigen}
|
|
\item[\mbox{\hyperlink{todo__todo000001}{Noch zu erledigen}}]Für die Zeichenausgabe der Textspeicher könnte hier noch die Beachtung des eingestellten Ratios und der Gewichtung zugefügt werden.\end{DoxyRefDesc}
|
|
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em s} & Zeiger auf die Zeichenkette \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a3e6e9a204e6bac15fdc0fe500390517c}\label{functions_8c_a3e6e9a204e6bac15fdc0fe500390517c}}
|
|
\index{functions.c@{functions.c}!SendSymbol@{SendSymbol}}
|
|
\index{SendSymbol@{SendSymbol}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SendSymbol()}{SendSymbol()}}
|
|
{\footnotesize\ttfamily void Send\+Symbol (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Dit }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Symbol senden.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em Dit} & = 1, wenn Symbol ein Punkt ist \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a8684d17e55772fc84a10c9e778705eda}\label{functions_8c_a8684d17e55772fc84a10c9e778705eda}}
|
|
\index{functions.c@{functions.c}!SerialWriteChar@{SerialWriteChar}}
|
|
\index{SerialWriteChar@{SerialWriteChar}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SerialWriteChar()}{SerialWriteChar()}}
|
|
{\footnotesize\ttfamily void Serial\+Write\+Char (\begin{DoxyParamCaption}\item[{unsigned char}]{data }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Ein Zeichen über serielle Schnittstelle ausgeben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em data} & Zeichen, das seriell ausgegeben wird \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a4e592b116ccf5c55bbb5979bb7193981}\label{functions_8c_a4e592b116ccf5c55bbb5979bb7193981}}
|
|
\index{functions.c@{functions.c}!SetEEprom@{SetEEprom}}
|
|
\index{SetEEprom@{SetEEprom}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SetEEprom()}{SetEEprom()}}
|
|
{\footnotesize\ttfamily void Set\+EEprom (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Standardeinstellungen (bei neuem Controller)
|
|
|
|
\begin{DoxyVerb} Wird ein neuer Controller verwendet, gibt es keine
|
|
Einstellungswerte im EEprom. Diese Funktion schreibt
|
|
die initialen Werte in das EEprom. Wird sehr selten
|
|
benötigt ;-)
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_af3375f394993997701d75ee441810edc}\label{functions_8c_af3375f394993997701d75ee441810edc}}
|
|
\index{functions.c@{functions.c}!SetFrequency@{SetFrequency}}
|
|
\index{SetFrequency@{SetFrequency}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SetFrequency()}{SetFrequency()}}
|
|
{\footnotesize\ttfamily void Set\+Frequency (\begin{DoxyParamCaption}\item[{uint16\+\_\+t}]{f }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Verändert die Frequenz des Mithörtons.
|
|
|
|
\begin{DoxyVerb} Durch die Anpassung des Timers 1 für das
|
|
Laden der Werte der Sinuskurve wird die
|
|
Tonhöhe des Mithörtons verändert.
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em f} & Frequenz des Mithörtons in Hz \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_aa0e063cf32b840a3ed51ae9aa677e2be}\label{functions_8c_aa0e063cf32b840a3ed51ae9aa677e2be}}
|
|
\index{functions.c@{functions.c}!SetRatio@{SetRatio}}
|
|
\index{SetRatio@{SetRatio}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SetRatio()}{SetRatio()}}
|
|
{\footnotesize\ttfamily void Set\+Ratio (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Berechnung der Zeitdauer für Punkt und Strich.
|
|
|
|
\begin{DoxyVerb} Die Länge eines Symbols ist abhängig von der
|
|
eingestellten Geschwindigkeit. Intern wird immer
|
|
mit Wörtern pro Minute gerechnet. Das normale
|
|
Punkt/Strich Verhältnis ist 1:3. Dies kann durch
|
|
den Parameter Ratio in den Einstellungen verändert
|
|
werden.
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_ae8011166e9324f9f3c6948249eb15fd1}\label{functions_8c_ae8011166e9324f9f3c6948249eb15fd1}}
|
|
\index{functions.c@{functions.c}!SidetoneDisable@{SidetoneDisable}}
|
|
\index{SidetoneDisable@{SidetoneDisable}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SidetoneDisable()}{SidetoneDisable()}}
|
|
{\footnotesize\ttfamily void Sidetone\+Disable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Audioverstärker abschalten.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a60f2f041b0803584ba5fc2e0a373ed50}\label{functions_8c_a60f2f041b0803584ba5fc2e0a373ed50}}
|
|
\index{functions.c@{functions.c}!SidetoneEnable@{SidetoneEnable}}
|
|
\index{SidetoneEnable@{SidetoneEnable}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SidetoneEnable()}{SidetoneEnable()}}
|
|
{\footnotesize\ttfamily void Sidetone\+Enable (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Audioverstärker einschalten.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_ad82537f7ea58b4eb375952ce52615c4d}\label{functions_8c_ad82537f7ea58b4eb375952ce52615c4d}}
|
|
\index{functions.c@{functions.c}!SidetoneOff@{SidetoneOff}}
|
|
\index{SidetoneOff@{SidetoneOff}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SidetoneOff()}{SidetoneOff()}}
|
|
{\footnotesize\ttfamily void Sidetone\+Off (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Mithörton ausschalten.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_aa037229dc16e974a22eedcd6990a7b9d}\label{functions_8c_aa037229dc16e974a22eedcd6990a7b9d}}
|
|
\index{functions.c@{functions.c}!SidetoneOn@{SidetoneOn}}
|
|
\index{SidetoneOn@{SidetoneOn}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{SidetoneOn()}{SidetoneOn()}}
|
|
{\footnotesize\ttfamily void Sidetone\+On (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Mithörton einschalten.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a859cf4a556750b8aa340761627fb6c42}\label{functions_8c_a859cf4a556750b8aa340761627fb6c42}}
|
|
\index{functions.c@{functions.c}!Tone@{Tone}}
|
|
\index{Tone@{Tone}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{Tone()}{Tone()}}
|
|
{\footnotesize\ttfamily void Tone (\begin{DoxyParamCaption}\item[{uint16\+\_\+t}]{f, }\item[{uint8\+\_\+t}]{duration }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Ausgabe eines Tons mit Dauer und Frequenz.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em f} & Frequenz des Tons \\
|
|
\hline
|
|
{\em duration} & Dauer des Tons \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_aafcd99a76b601d8b43b6827d414ccddb}\label{functions_8c_aafcd99a76b601d8b43b6827d414ccddb}}
|
|
\index{functions.c@{functions.c}!TXKey@{TXKey}}
|
|
\index{TXKey@{TXKey}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{TXKey()}{TXKey()}}
|
|
{\footnotesize\ttfamily void TXKey (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{State }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Gibt ein Symbol aus.
|
|
|
|
\begin{DoxyVerb} Je nach Einstellung wird ein oder beide Transceiver
|
|
getastet oder nur der Mithörton ausgegeben.
|
|
\end{DoxyVerb}
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em \mbox{\hyperlink{structState}{State}}} & Bitfeld für Transceiver und Tonausgabe \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a586bc00ad3164def7ec76ac9bda4f1bc}\label{functions_8c_a586bc00ad3164def7ec76ac9bda4f1bc}}
|
|
\index{functions.c@{functions.c}!WriteEEprom@{WriteEEprom}}
|
|
\index{WriteEEprom@{WriteEEprom}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{WriteEEprom()}{WriteEEprom()}}
|
|
{\footnotesize\ttfamily void Write\+EEprom (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Akt. Einstellungen in EEPROM schreiben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
\mbox{\Hypertarget{functions_8c_a838ffc3ce94fc8c85429e5297a185022}\label{functions_8c_a838ffc3ce94fc8c85429e5297a185022}}
|
|
\index{functions.c@{functions.c}!WriteEEpromWpM@{WriteEEpromWpM}}
|
|
\index{WriteEEpromWpM@{WriteEEpromWpM}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{WriteEEpromWpM()}{WriteEEpromWpM()}}
|
|
{\footnotesize\ttfamily void Write\+EEprom\+WpM (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Akt. Einstellung für die Geschwindigkeit in EEprom schreiben.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
\begin{DoxyRetVals}{Rückgabewerte}
|
|
{\em none} & \\
|
|
\hline
|
|
\end{DoxyRetVals}
|
|
|
|
|
|
\doxysubsection{Variablen-\/\+Dokumentation}
|
|
\mbox{\Hypertarget{functions_8c_af46a7ac73709b59ac331e84016c6600f}\label{functions_8c_af46a7ac73709b59ac331e84016c6600f}}
|
|
\index{functions.c@{functions.c}!ee\_DebounceTime@{ee\_DebounceTime}}
|
|
\index{ee\_DebounceTime@{ee\_DebounceTime}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_DebounceTime}{ee\_DebounceTime}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Debounce\+Time = 6}
|
|
|
|
|
|
|
|
Entprellzeit für Straight Key Eingang.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a42f0b8f91ce6b2a23dd6ff8672d13b95}\label{functions_8c_a42f0b8f91ce6b2a23dd6ff8672d13b95}}
|
|
\index{functions.c@{functions.c}!ee\_Dummy@{ee\_Dummy}}
|
|
\index{ee\_Dummy@{ee\_Dummy}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Dummy}{ee\_Dummy}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Dummy = 0x55}
|
|
|
|
|
|
|
|
Dummy for Address 0.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a169f1099862f2dc874d344eb240fd8c2}\label{functions_8c_a169f1099862f2dc874d344eb240fd8c2}}
|
|
\index{functions.c@{functions.c}!ee\_KeyerMode@{ee\_KeyerMode}}
|
|
\index{ee\_KeyerMode@{ee\_KeyerMode}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_KeyerMode}{ee\_KeyerMode}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Keyer\+Mode = 1}
|
|
|
|
|
|
|
|
Iambic A, Iambic B oder Ultimatic.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a3f1e9ffbb5d98febdd58a4fa82b01f30}\label{functions_8c_a3f1e9ffbb5d98febdd58a4fa82b01f30}}
|
|
\index{functions.c@{functions.c}!ee\_MemButtonMode@{ee\_MemButtonMode}}
|
|
\index{ee\_MemButtonMode@{ee\_MemButtonMode}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_MemButtonMode}{ee\_MemButtonMode}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Mem\+Button\+Mode = 0}
|
|
|
|
|
|
|
|
Funktion des ersten Tasters (MEM5)
|
|
|
|
\mbox{\Hypertarget{functions_8c_a5f69205a6897625598ead5ab6a740fc7}\label{functions_8c_a5f69205a6897625598ead5ab6a740fc7}}
|
|
\index{functions.c@{functions.c}!ee\_Memory@{ee\_Memory}}
|
|
\index{ee\_Memory@{ee\_Memory}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Memory}{ee\_Memory}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Memory = 0}
|
|
|
|
|
|
|
|
Punkt/\+Strich Speicher.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a8814741a33f0a4f2e14eee14d8c00dad}\label{functions_8c_a8814741a33f0a4f2e14eee14d8c00dad}}
|
|
\index{functions.c@{functions.c}!ee\_Ratio@{ee\_Ratio}}
|
|
\index{ee\_Ratio@{ee\_Ratio}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Ratio}{ee\_Ratio}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Ratio = 30}
|
|
|
|
|
|
|
|
Punkt/\+Strich Verhältnis 1\+:3.
|
|
|
|
\mbox{\Hypertarget{functions_8c_ad5a1c7f3fe4cc3af1873519f70586866}\label{functions_8c_ad5a1c7f3fe4cc3af1873519f70586866}}
|
|
\index{functions.c@{functions.c}!ee\_Reverse@{ee\_Reverse}}
|
|
\index{ee\_Reverse@{ee\_Reverse}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Reverse}{ee\_Reverse}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Reverse = 0}
|
|
|
|
|
|
|
|
linkes/rechtes Paddle vertauschen
|
|
|
|
\mbox{\Hypertarget{functions_8c_acde6a28c5a5747443f823ff09dce682b}\label{functions_8c_acde6a28c5a5747443f823ff09dce682b}}
|
|
\index{functions.c@{functions.c}!ee\_RiseTime@{ee\_RiseTime}}
|
|
\index{ee\_RiseTime@{ee\_RiseTime}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_RiseTime}{ee\_RiseTime}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Rise\+Time = 5}
|
|
|
|
|
|
|
|
Anstiegszeit Sinuston.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a138d8a4a73593b01e9ffdfebc7134c89}\label{functions_8c_a138d8a4a73593b01e9ffdfebc7134c89}}
|
|
\index{functions.c@{functions.c}!ee\_RiseTimeCounter@{ee\_RiseTimeCounter}}
|
|
\index{ee\_RiseTimeCounter@{ee\_RiseTimeCounter}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_RiseTimeCounter}{ee\_RiseTimeCounter}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Rise\+Time\+Counter = 5}
|
|
|
|
|
|
|
|
Anzahl Sinusschwingungen für den Anstieg.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a8f9b2a72d7b1d5f1c28673c36a51a33a}\label{functions_8c_a8f9b2a72d7b1d5f1c28673c36a51a33a}}
|
|
\index{functions.c@{functions.c}!ee\_SidetoneEnabled@{ee\_SidetoneEnabled}}
|
|
\index{ee\_SidetoneEnabled@{ee\_SidetoneEnabled}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_SidetoneEnabled}{ee\_SidetoneEnabled}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Sidetone\+Enabled = 1}
|
|
|
|
|
|
|
|
Mithörton eingeschaltet.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a025c31b4a3c9adca80df2782808579a7}\label{functions_8c_a025c31b4a3c9adca80df2782808579a7}}
|
|
\index{functions.c@{functions.c}!ee\_SidetoneFreq@{ee\_SidetoneFreq}}
|
|
\index{ee\_SidetoneFreq@{ee\_SidetoneFreq}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_SidetoneFreq}{ee\_SidetoneFreq}}
|
|
{\footnotesize\ttfamily uint16\+\_\+t ee\+\_\+\+Sidetone\+Freq = 600}
|
|
|
|
|
|
|
|
Frequenz des Mithörtons.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a1c70858b9aea8006017b70d201604a96}\label{functions_8c_a1c70858b9aea8006017b70d201604a96}}
|
|
\index{functions.c@{functions.c}!ee\_Trx1@{ee\_Trx1}}
|
|
\index{ee\_Trx1@{ee\_Trx1}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Trx1}{ee\_Trx1}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Trx1 = 0}
|
|
|
|
|
|
|
|
TRX 1.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a6f6cc3866f25698f6f9185e422ce7b8c}\label{functions_8c_a6f6cc3866f25698f6f9185e422ce7b8c}}
|
|
\index{functions.c@{functions.c}!ee\_Trx2@{ee\_Trx2}}
|
|
\index{ee\_Trx2@{ee\_Trx2}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Trx2}{ee\_Trx2}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Trx2 = 0}
|
|
|
|
|
|
|
|
TRX 2.
|
|
|
|
\mbox{\Hypertarget{functions_8c_ac8f8c751bbe43f711df2e1ba13f79994}\label{functions_8c_ac8f8c751bbe43f711df2e1ba13f79994}}
|
|
\index{functions.c@{functions.c}!ee\_Weight@{ee\_Weight}}
|
|
\index{ee\_Weight@{ee\_Weight}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_Weight}{ee\_Weight}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Weight = 50}
|
|
|
|
|
|
|
|
Punkt/\+Strich Gewichtung.
|
|
|
|
\mbox{\Hypertarget{functions_8c_af636ee63fad94f56f61f334e0c2e46b0}\label{functions_8c_af636ee63fad94f56f61f334e0c2e46b0}}
|
|
\index{functions.c@{functions.c}!ee\_WpM@{ee\_WpM}}
|
|
\index{ee\_WpM@{ee\_WpM}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_WpM}{ee\_WpM}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+WpM = 12}
|
|
|
|
|
|
|
|
Geschwindigkeit WpM.
|
|
|
|
\mbox{\Hypertarget{functions_8c_a7c955b77d04539b88678e94d72deeef0}\label{functions_8c_a7c955b77d04539b88678e94d72deeef0}}
|
|
\index{functions.c@{functions.c}!ee\_WpMBpM@{ee\_WpMBpM}}
|
|
\index{ee\_WpMBpM@{ee\_WpMBpM}!functions.c@{functions.c}}
|
|
\doxysubsubsection{\texorpdfstring{ee\_WpMBpM}{ee\_WpMBpM}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t ee\+\_\+\+Wp\+MBpM = 0}
|
|
|
|
|
|
|
|
WpM oder BpM Anzeige.
|
|
|