Skip to Content
Embedded C Programming
book

Embedded C Programming

by Mark Siegesmund
September 2014
Beginner to intermediate
424 pages
10h 4m
English
Newnes
Content preview from Embedded C Programming
Chapter 22

External Serial Busses

Abstract

This chapter covers RS-232-like serial buses typically used for communication external to a product. The electrical characteristics, byte formats, flow control, and higher level protocol issues are all covered in this chapter. This chapter includes detailed diagrams, schematics, and specific C functions needed for this type of communication. The popular NEMA GPS protocol is used as an example. Software techniques, all in C, are explained for protocols, flow control, UART control, text I/O, and interrupts.

Variations for RS-422 and RS-485 are also a part of this chapter.

Examples and exercises are for the popular PIC® microcontroller manufactured by Microchip.

Keywords

Asynchronous

RS-232

RS-422 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C Programming

Practical C Programming

B. M. Harwani

Publisher Resources

ISBN: 9780128013144