1,系统滴答定时器
2,除了简单的OS直接使用MSP外,增加PSP满足复杂OS内核和应用分离。
3,SVC
4,PendSV
Overview of the OS Support Features
The Cortex-M0 processor includes a number of features that target the embedded operating
system (OS). These include the following:
• A SysTick timer. This 24-bit down counter can be used to generate a SysTick exception at
regular intervals.
• A second stack pointer called the process stack pointer. This feature allows the stack of the
applications and the OS kernel to be separated.
• An SVC exception and SVC instruction. Applications use the SVC to access OS services
via the exception mechanism.
• A PendSV exception. The PendSV can be used by an OS, device drivers, or the application
to generate service requests that can be deferred.