Code: Select all
mcpwm_capture_signal_get_value
https://docs.espressif.com/projects/esp ... l#capture
To convert it into a time one needs to know what the APB clock is because
It typically should be 80 MHz. That is what the docs state.The timer runs continuously driven by the APB clock.
Code: Select all
rtc_clk_apb_freq_get
Now I don't know what my APB clock is without calling
Code: Select all
rtc_clk_apb_freq_get
How can I find out what my APB clock is by just finding information in the docs?
I don't use power management and therefore no frequency scaling.