Quality RTOS & Embedded Software

KERNEL
WHAT'S NEW
Featured FreeRTOS IoT Integrations:
Extended Maintenance Plan (EMP):
Delta Over-the-Air Updates:
December 2021 Releases:
FreeRTOS LTS libraries:

RTOS Context Switch - Step 2
[Detailed Example]

The RTOS tick interrupt occurs

The RTOS tick occurs just as TaskA is about to execute an LDI instruction. When the interrupt occurs the AVR microcontroller automatically places the current program counter (PC) onto the stack before jumping to the start of the RTOS tick ISR.


AtoB2.gif



Next: RTOS Implementation - Detailed Example Step 3


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.