Example of an interrupt which passes its job as a thread using signals. "With an RTOS application it is best to design the interrupt service code as a thread within the RTOS and assign it a high priority. While it is possible to run C code in an interrupt service routine (ISR), this is not desirable within an RTOS if the interrupt code is going to run for more than a short period of time. This delays the timer tick and disrupts the RTOS kernel. " - “The Designers Guide to the Cortex-M ProcessorFamily” by Trevor Martin

RTOS Example of an RTOS Interrupt as Thread (using signals)

Committer:
Ritzerk
Date:
Tue Mar 05 12:16:33 2019 +0000
Revision:
0:f28b116a2be0
RTOS Interrupt as Thread

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ritzerk 0:f28b116a2be0 1 https://github.com/armmbed/mbed-os/#ecb3c8c837162c73537bd0f3592c6e2a42994045