Chapter 18. Using SVC, PendSV, and Keil RTX Kernel

Introduction

In Chapter 10 we covered the hardware features in the Cortex-M0 processor related to the operating system. In this chapter we will use the SVC and PendSV features in programming examples. This chapter also introduces the Keil RTX Kernel, which is included in the Keil MDK, including the evaluation version.
In practice, the SVC is rarely used directly without the OS. For applications with an embedded OS, the application programming interface (API) of the OS normally handles these for you. Nevertheless, the information about using SVC and PendSV can still be useful for developers of debugging software.

Using the SVC Exception

SuperVisor Call (SVC) is commonly used in an OS environment for ...

Get The Definitive Guide to the ARM Cortex-M0 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.