Number of clock cycles required for PWM functions | Cypress Semiconductor
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?