O'Reilly logo

The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd Edition by Joseph Yiu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18

Programming Examples

Abstract

This chapter covers various topics relating to input and output handling such as using Universal Asynchronous Receiver/Transmitter (UART) for communication, supporting printf with UART, and interrupt management. It also covers a simple application example, followed by additional information about differences in different versions of CMSIS-CORE and how this can affect the program codes.

Keywords

Application example; Custom input and output functions; Different versions of CMSIS-CORE; Interrupt management; Printf handling; Retargeting and semihosting; UART input and output

18.1. Producing Output with Universal Asynchronous Receiver/Transmitter

18.1.1. Overview of Universal Asynchronous Receiver/Transmitter Communication ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required