Search code examples
autosar

Is there any way to know what trigger call a runnable?


I´m new in the Autosar World and I have a question.

I´m working on an app that has several triggers. I would like to know if there is any way to know which one trigger call the runnable wihtout using a static var.

Thanks in advance.


Solution

  • For this purpose the activationReason is available. Please have a look at the chapter 4.2.3.3 in the AUTOSAR specification „SWS RTE“.