C Programmer's Guide to Serial CommunicationsASCII. Fundamentals of asynchronous technology. Errors and error detection. Information transfer. Modems and modem control. The UART: a conceptual model. Real-world UARTs. The baseline smart modem. Smart modem commands. Protocol modems. Facsimile. Design a basic serial I/O library. Portability considerations. Functions for baud rate and data format. RS-232 control. Flow control SIO management. Formatted output. Formatted input. An introduction to interrupt I/O. Interrupt sub-handlers. Smart modem programming. XMODEM file transfers. CRC calculations. Group 3 facsimile image encoding and decoding. |
Contents
ASCII | 1 |
Fundamentals of Asynchronous Technology | 43 |
Errors and Error Detection | 63 |
Copyright | |
37 other sections not shown
Common terms and phrases
array ASCII baud rate binary break buffer buos.h carrier CCITT Chapter char checksum checkvalue command compression configuration connection contains control characters data bits DATA field data format default define detected device dial disk divisor echo encoding errcode error Esc[Pn example FIFO Figure flow control full-duplex FUNCTION NAME half-duplex hardware HDLC Huffman codes IBM PC INCLUDE FILES input interface interrupt Kermit Kermit protocol level-1 level-2 function loop mask microcomputer mode modem modulation modulo-2 output packet parity parity bit pointer polynomial protocol receiver receiver's remainder reset retval run lengths Send sender sequence serial I/O serial port shift shown in Listing signal SIO siop siodef.h siop smart modem speed STOP bits string struct structure switch sync synchronous Table teleprinter terminal timeout transfer transmission transmitted UART UART's variable virtual register XON/XOFF