Abstract

This chapter discusses various features of the Cortex-M0 processor that target the embedded operating system (OS). A SysTick timer can be used to generate a SysTick exception at regular intervals. A second stack pointer called the process stack pointer allows the stack of the applications and the OS kernel to be separated. Some embedded OSs also define priority levels for each task so that a high-priority task is executed before lower-priority tasks. It is found that if the task has a higher priority than others, an OS might execute the task for a number of time slots continuously until the task reaches an idle state. It is found that besides supporting multitasking, embedded OSs can also provide the functions of resource management, memory management, power management, and an application programming interface for accessing peripherals, hardware, and communication channels. It is seen that for systems that do not required an OS, the SysTick timer can be used for other purposes like time keeping, timing measurement, or as a interrupt source for tasks that need to be executed regularly.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.