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.
611 lines
23 KiB
TeX
611 lines
23 KiB
TeX
\hypertarget{functions_8h}{}\doxysection{functions.\+h-\/Dateireferenz}
|
|
\label{functions_8h}\index{functions.h@{functions.h}}
|
|
|
|
|
|
Headerdatei für \mbox{\hyperlink{functions_8c}{functions.\+c}}.
|
|
|
|
|
|
{\ttfamily \#include \char`\"{}main.\+h\char`\"{}}\newline
|
|
Include-\/\+Abhängigkeitsdiagramm für functions.\+h\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{functions_8h__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
Dieser Graph zeigt, welche Datei direkt oder indirekt diese Datei enthält\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=273pt]{functions_8h__dep__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Funktionen}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{functions_8h_a2a5677c9c6904f13c1fa4fd1b4bc0fd8}\label{functions_8h_a2a5677c9c6904f13c1fa4fd1b4bc0fd8}}
|
|
void {\bfseries Symbol\+Loop} (uint8\+\_\+t Len)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8h_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_8h_aa0e063cf32b840a3ed51ae9aa677e2be}{Set\+Ratio}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Berechnung der Zeitdauer für Punkt und Strich. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{functions_8h_a7a31f60576d112eca1abddf447df8248}\label{functions_8h_a7a31f60576d112eca1abddf447df8248}}
|
|
void {\bfseries Set\+Weight} (void)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8h_a22d2dd23cb17e53e75c7d6366d9205d6}{Send\+Dit}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Gibt einen Punkt aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_a3dfd0f785e0377a124c423ac5ef8ddde}{Send\+Dah}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Gibt einen Strich aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_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_8h_a49e16203823a4921910161bd2610987a}{Send\+Char}} (unsigned char c)
|
|
\begin{DoxyCompactList}\small\item\em Gibt ein Zeichen aus. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_a33edcf2aa23f97390659434ead6ef593}{Send\+String}} (char $\ast$s)
|
|
\begin{DoxyCompactList}\small\item\em Gibt eine Zeichenkette als Morsecode aus. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{functions_8h_ab97cfac63db09807e98220a4b660bba1}\label{functions_8h_ab97cfac63db09807e98220a4b660bba1}}
|
|
void {\bfseries Side\+Tone\+On} (void)
|
|
\item
|
|
\mbox{\Hypertarget{functions_8h_a543d0f249e5b505063a706525f99ff3a}\label{functions_8h_a543d0f249e5b505063a706525f99ff3a}}
|
|
void {\bfseries Side\+Tone\+Off} (void)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8h_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_8h_a0366eaeb4aab61562dcd5b24994d0103}{Boop}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Boop Ton ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_a2f616a93763b4bc437c4311d653c0491}{Beep}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Beep Ton ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_a72913eefa74c0c044d815a0b759577fa}{Beep\+Boop}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Beep\+Boop Doppelton ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_ae2f4a274ba95c3e94edd58ce6f129de4}{Int\+Disable}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Register sichern und Interrupts verbieten. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_ab321d23dfab578b6a40f3c5e8894c280}{Int\+Enable}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Register wieder herstellen und Interrupts erlauben. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{functions_8h_afeb1aaa538ce3d5ffb072786aed23a55}\label{functions_8h_afeb1aaa538ce3d5ffb072786aed23a55}}
|
|
void {\bfseries Disable\+Pin\+Change\+IRQ} (void)
|
|
\item
|
|
\mbox{\Hypertarget{functions_8h_a002f7b6558d9508ba71e95c8defd3ab4}\label{functions_8h_a002f7b6558d9508ba71e95c8defd3ab4}}
|
|
void {\bfseries Enable\+Pin\+Change\+IRQ} (void)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8h_a586bc00ad3164def7ec76ac9bda4f1bc}{Write\+EEprom}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Akt. Einstellungen in EEPROM schreiben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_adf7f3486f66ae3386f330a5172dfdf52}{Read\+EEprom}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Einstellungen aus dem EEprom lesen. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_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_8h_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_8h_a4e592b116ccf5c55bbb5979bb7193981}{Set\+EEprom}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Standardeinstellungen (bei neuem Controller) \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{functions_8h_ac2bac61999066f61501cd244a237192e}\label{functions_8h_ac2bac61999066f61501cd244a237192e}}
|
|
void {\bfseries Serial\+Write\+String} (char $\ast$s)
|
|
\item
|
|
void \mbox{\hyperlink{functions_8h_a8684d17e55772fc84a10c9e778705eda}{Serial\+Write\+Char}} (unsigned char data)
|
|
\begin{DoxyCompactList}\small\item\em Ein Zeichen über serielle Schnittstelle ausgeben. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_ada3125b546b3115e7afc2e51bc7db894}{Delay\+Milli\+Seconds}} (uint16\+\_\+t ms)
|
|
\begin{DoxyCompactList}\small\item\em Zeitschleife von 1-\/65535 Millisekunden. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_a318f7eb176f7797e0166cbd652855a3c}{Reset\+Milli\+Seconds}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Setzt den Millisekundenzähler für Zeitschleifen auf 0. \end{DoxyCompactList}\item
|
|
uint16\+\_\+t \mbox{\hyperlink{functions_8h_a682e380769f82867a41c13d632bb3cca}{Get\+Milli\+Seconds}} (void)
|
|
\begin{DoxyCompactList}\small\item\em Zählerwert für Zeitschleifen auslesen. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{functions_8h_adf505a2f38b0bd35e6030c8e9a82ae2a}{Send\+Memory}} (uint8\+\_\+t Button\+Pressed)
|
|
\begin{DoxyCompactList}\small\item\em Sendet den Text eines Speichers. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Variablen}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
uint8\+\_\+t \mbox{\hyperlink{functions_8h_a82a35872e59db8f8de1f0e42854355dd}{sreg\+\_\+tmp}}
|
|
\begin{DoxyCompactList}\small\item\em Merker für Registerinhalte. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Ausführliche Beschreibung}
|
|
Headerdatei für \mbox{\hyperlink{functions_8c}{functions.\+c}}.
|
|
|
|
|
|
|
|
\doxysubsection{Dokumentation der Funktionen}
|
|
\mbox{\Hypertarget{functions_8h_a2f616a93763b4bc437c4311d653c0491}\label{functions_8h_a2f616a93763b4bc437c4311d653c0491}}
|
|
\index{functions.h@{functions.h}!Beep@{Beep}}
|
|
\index{Beep@{Beep}!functions.h@{functions.h}}
|
|
\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_8h_a72913eefa74c0c044d815a0b759577fa}\label{functions_8h_a72913eefa74c0c044d815a0b759577fa}}
|
|
\index{functions.h@{functions.h}!BeepBoop@{BeepBoop}}
|
|
\index{BeepBoop@{BeepBoop}!functions.h@{functions.h}}
|
|
\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_8h_a0366eaeb4aab61562dcd5b24994d0103}\label{functions_8h_a0366eaeb4aab61562dcd5b24994d0103}}
|
|
\index{functions.h@{functions.h}!Boop@{Boop}}
|
|
\index{Boop@{Boop}!functions.h@{functions.h}}
|
|
\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_8h_a9bd61bc3c9e38f6b325e4ba3f96d9472}\label{functions_8h_a9bd61bc3c9e38f6b325e4ba3f96d9472}}
|
|
\index{functions.h@{functions.h}!CheckPaddles@{CheckPaddles}}
|
|
\index{CheckPaddles@{CheckPaddles}!functions.h@{functions.h}}
|
|
\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_8h_ada3125b546b3115e7afc2e51bc7db894}\label{functions_8h_ada3125b546b3115e7afc2e51bc7db894}}
|
|
\index{functions.h@{functions.h}!DelayMilliSeconds@{DelayMilliSeconds}}
|
|
\index{DelayMilliSeconds@{DelayMilliSeconds}!functions.h@{functions.h}}
|
|
\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_8h_a682e380769f82867a41c13d632bb3cca}\label{functions_8h_a682e380769f82867a41c13d632bb3cca}}
|
|
\index{functions.h@{functions.h}!GetMilliSeconds@{GetMilliSeconds}}
|
|
\index{GetMilliSeconds@{GetMilliSeconds}!functions.h@{functions.h}}
|
|
\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_8h_ae2f4a274ba95c3e94edd58ce6f129de4}\label{functions_8h_ae2f4a274ba95c3e94edd58ce6f129de4}}
|
|
\index{functions.h@{functions.h}!IntDisable@{IntDisable}}
|
|
\index{IntDisable@{IntDisable}!functions.h@{functions.h}}
|
|
\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_8h_ab321d23dfab578b6a40f3c5e8894c280}\label{functions_8h_ab321d23dfab578b6a40f3c5e8894c280}}
|
|
\index{functions.h@{functions.h}!IntEnable@{IntEnable}}
|
|
\index{IntEnable@{IntEnable}!functions.h@{functions.h}}
|
|
\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_8h_adf7f3486f66ae3386f330a5172dfdf52}\label{functions_8h_adf7f3486f66ae3386f330a5172dfdf52}}
|
|
\index{functions.h@{functions.h}!ReadEEprom@{ReadEEprom}}
|
|
\index{ReadEEprom@{ReadEEprom}!functions.h@{functions.h}}
|
|
\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_8h_a3435bb0409b2c91ab253f4bd4cdc03e1}\label{functions_8h_a3435bb0409b2c91ab253f4bd4cdc03e1}}
|
|
\index{functions.h@{functions.h}!ReadEEpromWpM@{ReadEEpromWpM}}
|
|
\index{ReadEEpromWpM@{ReadEEpromWpM}!functions.h@{functions.h}}
|
|
\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_8h_a318f7eb176f7797e0166cbd652855a3c}\label{functions_8h_a318f7eb176f7797e0166cbd652855a3c}}
|
|
\index{functions.h@{functions.h}!ResetMilliSeconds@{ResetMilliSeconds}}
|
|
\index{ResetMilliSeconds@{ResetMilliSeconds}!functions.h@{functions.h}}
|
|
\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_8h_a49e16203823a4921910161bd2610987a}\label{functions_8h_a49e16203823a4921910161bd2610987a}}
|
|
\index{functions.h@{functions.h}!SendChar@{SendChar}}
|
|
\index{SendChar@{SendChar}!functions.h@{functions.h}}
|
|
\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_8h_a3dfd0f785e0377a124c423ac5ef8ddde}\label{functions_8h_a3dfd0f785e0377a124c423ac5ef8ddde}}
|
|
\index{functions.h@{functions.h}!SendDah@{SendDah}}
|
|
\index{SendDah@{SendDah}!functions.h@{functions.h}}
|
|
\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_8h_a22d2dd23cb17e53e75c7d6366d9205d6}\label{functions_8h_a22d2dd23cb17e53e75c7d6366d9205d6}}
|
|
\index{functions.h@{functions.h}!SendDit@{SendDit}}
|
|
\index{SendDit@{SendDit}!functions.h@{functions.h}}
|
|
\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_8h_a683e588b64df83d67f1342ed5eeb099b}\label{functions_8h_a683e588b64df83d67f1342ed5eeb099b}}
|
|
\index{functions.h@{functions.h}!SendIambic@{SendIambic}}
|
|
\index{SendIambic@{SendIambic}!functions.h@{functions.h}}
|
|
\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_8h_adf505a2f38b0bd35e6030c8e9a82ae2a}\label{functions_8h_adf505a2f38b0bd35e6030c8e9a82ae2a}}
|
|
\index{functions.h@{functions.h}!SendMemory@{SendMemory}}
|
|
\index{SendMemory@{SendMemory}!functions.h@{functions.h}}
|
|
\doxysubsubsection{\texorpdfstring{SendMemory()}{SendMemory()}}
|
|
{\footnotesize\ttfamily void Send\+Memory (\begin{DoxyParamCaption}\item[{uint8\+\_\+t}]{Memory\+Index }\end{DoxyParamCaption})}
|
|
|
|
|
|
|
|
Sendet den Text eines Speichers.
|
|
|
|
|
|
\begin{DoxyParams}{Parameter}
|
|
{\em Nummer} & des Speichers \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Rückgabe}
|
|
none
|
|
\end{DoxyReturn}
|
|
\mbox{\Hypertarget{functions_8h_a33edcf2aa23f97390659434ead6ef593}\label{functions_8h_a33edcf2aa23f97390659434ead6ef593}}
|
|
\index{functions.h@{functions.h}!SendString@{SendString}}
|
|
\index{SendString@{SendString}!functions.h@{functions.h}}
|
|
\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_8h_a8684d17e55772fc84a10c9e778705eda}\label{functions_8h_a8684d17e55772fc84a10c9e778705eda}}
|
|
\index{functions.h@{functions.h}!SerialWriteChar@{SerialWriteChar}}
|
|
\index{SerialWriteChar@{SerialWriteChar}!functions.h@{functions.h}}
|
|
\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_8h_a4e592b116ccf5c55bbb5979bb7193981}\label{functions_8h_a4e592b116ccf5c55bbb5979bb7193981}}
|
|
\index{functions.h@{functions.h}!SetEEprom@{SetEEprom}}
|
|
\index{SetEEprom@{SetEEprom}!functions.h@{functions.h}}
|
|
\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_8h_aa0e063cf32b840a3ed51ae9aa677e2be}\label{functions_8h_aa0e063cf32b840a3ed51ae9aa677e2be}}
|
|
\index{functions.h@{functions.h}!SetRatio@{SetRatio}}
|
|
\index{SetRatio@{SetRatio}!functions.h@{functions.h}}
|
|
\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_8h_a859cf4a556750b8aa340761627fb6c42}\label{functions_8h_a859cf4a556750b8aa340761627fb6c42}}
|
|
\index{functions.h@{functions.h}!Tone@{Tone}}
|
|
\index{Tone@{Tone}!functions.h@{functions.h}}
|
|
\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_8h_a586bc00ad3164def7ec76ac9bda4f1bc}\label{functions_8h_a586bc00ad3164def7ec76ac9bda4f1bc}}
|
|
\index{functions.h@{functions.h}!WriteEEprom@{WriteEEprom}}
|
|
\index{WriteEEprom@{WriteEEprom}!functions.h@{functions.h}}
|
|
\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_8h_a838ffc3ce94fc8c85429e5297a185022}\label{functions_8h_a838ffc3ce94fc8c85429e5297a185022}}
|
|
\index{functions.h@{functions.h}!WriteEEpromWpM@{WriteEEpromWpM}}
|
|
\index{WriteEEpromWpM@{WriteEEpromWpM}!functions.h@{functions.h}}
|
|
\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_8h_a82a35872e59db8f8de1f0e42854355dd}\label{functions_8h_a82a35872e59db8f8de1f0e42854355dd}}
|
|
\index{functions.h@{functions.h}!sreg\_tmp@{sreg\_tmp}}
|
|
\index{sreg\_tmp@{sreg\_tmp}!functions.h@{functions.h}}
|
|
\doxysubsubsection{\texorpdfstring{sreg\_tmp}{sreg\_tmp}}
|
|
{\footnotesize\ttfamily uint8\+\_\+t sreg\+\_\+tmp}
|
|
|
|
|
|
|
|
Merker für Registerinhalte.
|
|
|