3 Replies Latest reply on May 11, 2017 5:29 AM by helic_263931

    access interrupt of component from another component

      Hello,

         

      I would like to access the "CAN1_ReceiveMsg" of the CAN component from an custom component. I know that I can use the "CAN1_RECEIVE_MSG_CALLBACK" define, but only by adding it manually in my project. Is it possible to do this within my custom component so that it is not necessary to do the define by the component user? 

         

      How can I read the received data from within the callbackfunktion? (How do I figure out witch mailbox was the one that caused the interrupt?)

         

      regards Konrad