|
22 | Serial Port
23 | |
24 |
1.7.4
90 |
91 |
92 |
--------------------------------------------------------------------------------
/html/a00004.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
Serial Port class. 65 | More...
66 |#include <SerialPort.h>Go to the source code of this file.
69 |Serial Port class.
73 | 74 |Definition in file SerialPort.cpp.
75 |
1.7.4
93 |
94 |
95 |
--------------------------------------------------------------------------------
/html/annotated.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
| SerialPort< PortNumber, RxBufSize, TxBufSize > | Class for avr hardware USART ports |
| SerialRingBuffer | Ring buffer for RX and TX data |
| UsartRegister | Addresses of USART registers |
1.7.4
86 |
87 |
88 |
--------------------------------------------------------------------------------
/html/files.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
| Arduino/libraries/SerialPort/SerialPort.cpp [code] | Serial Port class |
| Arduino/libraries/SerialPort/SerialPort.h [code] | Serial Port class |
| SerialPortDoc/MainPage/SerialPortMainPage.h [code] |
1.7.4
86 |
87 |
88 |
--------------------------------------------------------------------------------
/html/globals_func.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
1.7.4
96 |
97 |
98 |
--------------------------------------------------------------------------------
/html/classes.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
1.7.4
86 |
87 |
88 |
--------------------------------------------------------------------------------
/html/search/search.css:
--------------------------------------------------------------------------------
1 | /*---------------- Search Box */
2 |
3 | #FSearchBox {
4 | float: left;
5 | }
6 |
7 | #searchli {
8 | float: right;
9 | display: block;
10 | width: 170px;
11 | height: 36px;
12 | }
13 |
14 | #MSearchBox {
15 | white-space : nowrap;
16 | position: absolute;
17 | float: none;
18 | display: inline;
19 | margin-top: 8px;
20 | right: 0px;
21 | width: 170px;
22 | z-index: 102;
23 | }
24 |
25 | #MSearchBox .left
26 | {
27 | display:block;
28 | position:absolute;
29 | left:10px;
30 | width:20px;
31 | height:19px;
32 | background:url('search_l.png') no-repeat;
33 | background-position:right;
34 | }
35 |
36 | #MSearchSelect {
37 | display:block;
38 | position:absolute;
39 | width:20px;
40 | height:19px;
41 | }
42 |
43 | .left #MSearchSelect {
44 | left:4px;
45 | }
46 |
47 | .right #MSearchSelect {
48 | right:5px;
49 | }
50 |
51 | #MSearchField {
52 | display:block;
53 | position:absolute;
54 | height:19px;
55 | background:url('search_m.png') repeat-x;
56 | border:none;
57 | width:116px;
58 | margin-left:20px;
59 | padding-left:4px;
60 | color: #909090;
61 | outline: none;
62 | font: 9pt Arial, Verdana, sans-serif;
63 | }
64 |
65 | #FSearchBox #MSearchField {
66 | margin-left:15px;
67 | }
68 |
69 | #MSearchBox .right {
70 | display:block;
71 | position:absolute;
72 | right:10px;
73 | top:0px;
74 | width:20px;
75 | height:19px;
76 | background:url('search_r.png') no-repeat;
77 | background-position:left;
78 | }
79 |
80 | #MSearchClose {
81 | display: none;
82 | position: absolute;
83 | top: 4px;
84 | background : none;
85 | border: none;
86 | margin: 0px 4px 0px 0px;
87 | padding: 0px 0px;
88 | outline: none;
89 | }
90 |
91 | .left #MSearchClose {
92 | left: 6px;
93 | }
94 |
95 | .right #MSearchClose {
96 | right: 2px;
97 | }
98 |
99 | .MSearchBoxActive #MSearchField {
100 | color: #000000;
101 | }
102 |
103 | /*---------------- Search filter selection */
104 |
105 | #MSearchSelectWindow {
106 | display: none;
107 | position: absolute;
108 | left: 0; top: 0;
109 | border: 1px solid #90A5CE;
110 | background-color: #F9FAFC;
111 | z-index: 1;
112 | padding-top: 4px;
113 | padding-bottom: 4px;
114 | -moz-border-radius: 4px;
115 | -webkit-border-top-left-radius: 4px;
116 | -webkit-border-top-right-radius: 4px;
117 | -webkit-border-bottom-left-radius: 4px;
118 | -webkit-border-bottom-right-radius: 4px;
119 | -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
120 | }
121 |
122 | .SelectItem {
123 | font: 8pt Arial, Verdana, sans-serif;
124 | padding-left: 2px;
125 | padding-right: 12px;
126 | border: 0px;
127 | }
128 |
129 | span.SelectionMark {
130 | margin-right: 4px;
131 | font-family: monospace;
132 | outline-style: none;
133 | text-decoration: none;
134 | }
135 |
136 | a.SelectItem {
137 | display: block;
138 | outline-style: none;
139 | color: #000000;
140 | text-decoration: none;
141 | padding-left: 6px;
142 | padding-right: 12px;
143 | }
144 |
145 | a.SelectItem:focus,
146 | a.SelectItem:active {
147 | color: #000000;
148 | outline-style: none;
149 | text-decoration: none;
150 | }
151 |
152 | a.SelectItem:hover {
153 | color: #FFFFFF;
154 | background-color: #3D578C;
155 | outline-style: none;
156 | text-decoration: none;
157 | cursor: pointer;
158 | display: block;
159 | }
160 |
161 | /*---------------- Search results window */
162 |
163 | iframe#MSearchResults {
164 | width: 60ex;
165 | height: 15em;
166 | }
167 |
168 | #MSearchResultsWindow {
169 | display: none;
170 | position: absolute;
171 | left: 0; top: 0;
172 | border: 1px solid #000;
173 | background-color: #EEF1F7;
174 | }
175 |
176 | /* ----------------------------------- */
177 |
178 |
179 | #SRIndex {
180 | clear:both;
181 | padding-bottom: 15px;
182 | }
183 |
184 | .SREntry {
185 | font-size: 10pt;
186 | padding-left: 1ex;
187 | }
188 |
189 | .SRPage .SREntry {
190 | font-size: 8pt;
191 | padding: 1px 5px;
192 | }
193 |
194 | body.SRPage {
195 | margin: 5px 2px;
196 | }
197 |
198 | .SRChildren {
199 | padding-left: 3ex; padding-bottom: .5em
200 | }
201 |
202 | .SRPage .SRChildren {
203 | display: none;
204 | }
205 |
206 | .SRSymbol {
207 | font-weight: bold;
208 | color: #425E97;
209 | font-family: Arial, Verdana, sans-serif;
210 | text-decoration: none;
211 | outline: none;
212 | }
213 |
214 | a.SRScope {
215 | display: block;
216 | color: #425E97;
217 | font-family: Arial, Verdana, sans-serif;
218 | text-decoration: none;
219 | outline: none;
220 | }
221 |
222 | a.SRSymbol:focus, a.SRSymbol:active,
223 | a.SRScope:focus, a.SRScope:active {
224 | text-decoration: underline;
225 | }
226 |
227 | .SRPage .SRStatus {
228 | padding: 2px 5px;
229 | font-size: 8pt;
230 | font-style: italic;
231 | }
232 |
233 | .SRResult {
234 | display: none;
235 | }
236 |
237 | DIV.searchresults {
238 | margin-left: 10px;
239 | margin-right: 10px;
240 | }
241 |
--------------------------------------------------------------------------------
/html/functions_vars.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
1.7.4
105 |
106 |
107 |
--------------------------------------------------------------------------------
/html/a00011.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
| ubrrh | UsartRegister | |
| ubrrl | UsartRegister | |
| ucsra | UsartRegister | |
| ucsrb | UsartRegister | |
| ucsrc | UsartRegister | |
| udr | UsartRegister |
1.7.4
88 |
89 |
90 |
--------------------------------------------------------------------------------
/html/search/all_75.html:
--------------------------------------------------------------------------------
1 |
2 | |
22 | Serial Port
23 | |
24 |
1.7.4
117 |
118 |
119 |
--------------------------------------------------------------------------------
/MainPage/SerialPortMainPage.h:
--------------------------------------------------------------------------------
1 | /* Arduino SerialPort Library
2 | * Copyright (C) 2011 by William Greiman
3 | *
4 | * This file is part of the Arduino SerialPort Library
5 | *
6 | * This Library is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This Library is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with the Arduino SerialPort Library. If not, see
18 | * |
22 | Serial Port
23 | |
24 |
00001 /* Arduino SerialPort Library 63 | 00002 * Copyright (C) 2011 by William Greiman 64 | 00003 * 65 | 00004 * This file is part of the Arduino SerialPort Library 66 | 00005 * 67 | 00006 * This Library is free software: you can redistribute it and/or modify 68 | 00007 * it under the terms of the GNU General Public License as published by 69 | 00008 * the Free Software Foundation, either version 3 of the License, or 70 | 00009 * (at your option) any later version. 71 | 00010 * 72 | 00011 * This Library is distributed in the hope that it will be useful, 73 | 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 74 | 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 75 | 00014 * GNU General Public License for more details. 76 | 00015 * 77 | 00016 * You should have received a copy of the GNU General Public License 78 | 00017 * along with the Arduino SerialPort Library. If not, see 79 | 00018 * <http://www.gnu.org/licenses/>. 80 | 00019 */ 81 |
1.7.4
100 |
101 |
102 |
--------------------------------------------------------------------------------
/html/a00010.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
| available() | SerialRingBuffer | |
| buf_size_t typedef | SerialRingBuffer | |
| empty() | SerialRingBuffer | [inline] |
| flush() | SerialRingBuffer | |
| get(uint8_t *b) | SerialRingBuffer | |
| get(uint8_t *b, buf_size_t n) | SerialRingBuffer | |
| init(uint8_t *b, buf_size_t s) | SerialRingBuffer | |
| peek() | SerialRingBuffer | |
| put(uint8_t b) | SerialRingBuffer | |
| put(const uint8_t *b, buf_size_t n) | SerialRingBuffer | |
| put_P(PGM_P b, buf_size_t n) | SerialRingBuffer |
1.7.4
93 |
94 |
95 |
--------------------------------------------------------------------------------
/html/globals_vars.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | |
22 | Serial Port
23 | |
24 |
1.7.4
144 |
145 |
146 |
--------------------------------------------------------------------------------
/html/search/variables_73.html:
--------------------------------------------------------------------------------
1 |
2 | |
22 | Serial Port
23 | |
24 |
1.7.4
147 |
148 |
149 |
--------------------------------------------------------------------------------
/SerialPort/SerialPort.cpp:
--------------------------------------------------------------------------------
1 | /* Arduino SerialPort Library
2 | * Copyright (C) 2011 by William Greiman
3 | *
4 | * This file is part of the Arduino SerialPort Library
5 | *
6 | * This Library is free software: you can redistribute it and/or modify
7 | * it under the terms of the GNU General Public License as published by
8 | * the Free Software Foundation, either version 3 of the License, or
9 | * (at your option) any later version.
10 | *
11 | * This Library is distributed in the hope that it will be useful,
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 | * GNU General Public License for more details.
15 | *
16 | * You should have received a copy of the GNU General Public License
17 | * along with the Arduino SerialPort Library. If not, see
18 | *