1 2 Previous Next 16 Replies Latest reply on Oct 1, 2015 12:02 AM by mrmac_286121

    Number of clock cycles required for PWM functions


      Is there a way to know how many clock (HFCLK) cycles do the TCPWM API (for that matter any API) functions take to execute.


      Take for example: TCPWM_WritePeriod(); How may colck cycles will it take to execute?


      Also is there a way to directly write into registers using assembly command? How to nsert assembly commands into a C program?



        1 2 Previous Next