3 Replies Latest reply on Jun 23, 2014 7:07 AM by user_14586677

    Know the duration of execution of a function

    user_77989180

       Hi everyone,

         

      I have a function which is called in an interruption. I would like define the call of my interruption according to the duration of execution of my function.

         

      Normaly to know simply the duration of execution I set a pin at the begining and clear the pin at the end of the function. I look on a oscilloscope the duration.

         

      But at home I haven't osciloscope. Is there a simply method to know the duration? I have  a UART to send data 

         

       

         

       

         

       

         

      Thank you