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 ...

Get The Definitive Guide to ARM® Cortex®-M0 and Cortex-M0+ Processors, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.