Hi @all, does anyone know how to detect whether the actual context is interrupt oder task-context ? I want to implement an RTOS-wrapper and only want to have one function for semsignal and want to detect in this function if the actual context is interrupt or task-context to call the appropriate function ! regards Joe
that would depend on which port you are using the easiest way would be to increment a var on entry to interrupt and decrement it again on exit. When the var is zero the context is task
I am using an arm7tdmsi Lpc2290 from nxp
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.