summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-06-16 13:51:06 +0200
committerNao Pross <naopross@thearcway.org>2017-06-16 13:51:06 +0200
commit436e259b4c3d687bab51cc8ca35fe61103b430a2 (patch)
treed6b8189358215e98435c5e51a9821bce30279d63
parentnew documentation in z80upc.pdf (diff)
downloadz80uPC-436e259b4c3d687bab51cc8ca35fe61103b430a2.tar.gz
z80uPC-436e259b4c3d687bab51cc8ca35fe61103b430a2.zip
fixed typo in usart.h and in doc
-rw-r--r--doc/report/build/notes.pdfbin47404 -> 47404 bytes
-rw-r--r--doc/report/build/z80uPC.pdfbin970520 -> 970633 bytes
-rw-r--r--doc/report/z80uPC.tex3
-rw-r--r--sw/z80/kernel/include/usart.h2
4 files changed, 4 insertions, 1 deletions
diff --git a/doc/report/build/notes.pdf b/doc/report/build/notes.pdf
index 6a70bd5..5a43c7d 100644
--- a/doc/report/build/notes.pdf
+++ b/doc/report/build/notes.pdf
Binary files differ
diff --git a/doc/report/build/z80uPC.pdf b/doc/report/build/z80uPC.pdf
index 6c5dd23..aff4174 100644
--- a/doc/report/build/z80uPC.pdf
+++ b/doc/report/build/z80uPC.pdf
Binary files differ
diff --git a/doc/report/z80uPC.tex b/doc/report/z80uPC.tex
index 5a4ec64..eaad987 100644
--- a/doc/report/z80uPC.tex
+++ b/doc/report/z80uPC.tex
@@ -219,6 +219,9 @@ drivers e utility di base quali:
\subsection{Interfacce dell'API}
+Nel corso dello sviluppo questa sezione verr\`a continuamente espansa per
+documentare le interfacce dei vari drivers.
+
\subsubsection{USART}
\begin{lstlisting}[language=C, basicstyle=\ttfamily]
void usart_set_baudrate(uint16_t baudrate);
diff --git a/sw/z80/kernel/include/usart.h b/sw/z80/kernel/include/usart.h
index f1f428e..3e5c070 100644
--- a/sw/z80/kernel/include/usart.h
+++ b/sw/z80/kernel/include/usart.h
@@ -134,7 +134,7 @@ struct _usart_device
// setup functions (wrappers)
void usart_set_baudrate(uint16_t baudrate);
void usart_set_parity(int mode);
-void usart_set_stob_bits(int count);
+void usart_set_stop_bits(int count);
void usart_set_word_length(int length);
void usart_set_autoflow(int mode);