Chapter 18

Programming Examples


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.


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.