Serial Port Complete - Latest Microcontroller projects

(lily) #1

BusyUSART 244


byte, defined 18
byte-order mark 21
BytesToRead 191


C#. See code example (PC); SerialPort class
C18 compiler. See code example (embedded);
MPLAB C18 compiler
cable
Category 5/6 133
delay 108 – 109
IBM Type 1 133
RS-232 67 – 68
RS-485 131 – 134
twisted pair 131 – 134
call management functional descriptor 350
capacitive coupling 132
CAPI control model 337
carriage return. See CR
carrier detect 45 , 46
carrier frequency 146
carrier-present carrier-absent modulation 146
Category 5/6 cable 133
CBUS 326
CD 45 , 46
CDC. See communication devices class
CDHolding 210
ceramic resonator 264
characteristic impedance 112 – 113
charge pump 52
checksum 29
.NET 218
clear to send. See CTS
CLEAR_COMM_FEATURE 342 , 343
clock
accuracy 15 – 16
asynchronous interfaces and 11


synchronous interfaces and 12
Close method 161 – 163
CMOS logic 49
code example (embedded)
ASCII Hex convert 299 – 303
configure port 241 – 243
error detect 246 – 247
flow control 258 – 262
interrupt 254 – 256
read multiple bytes 249 – 251
receive data 244 – 245
send data 243 – 244
task loop 247 – 249
terminating character 251 – 253
USB virtual COM port 341
code example (PC)
ASCII Hex convert 299 – 303
character encoding 174 – 176
close a port 161 – 163
detect pin change 211 – 213
error handling 214 – 218
event-driven receive 194 – 197
find ports 156
get RS-485 parallel resistance 86 – 87
line, short or long 109 – 111
manage communications 218 – 221
9-bit data 275 – 280
open a port 156 – 160
parameters, save 187 – 188
parameters, set 221 – 223
poll for data 190 – 193
read bytes 168 – 169 , 199 – 202
read text 171 – 173 , 197 – 202
RS-485 network 287 – 316
RS-485 termination resistor 129
Stream object 176 – 186
write buffer management 207 – 208
Free download pdf