ESP32 MCPWM Capture Channel current counter running value

lucapassarella
Posts: 8
Joined: Mon Nov 28, 2022 11:29 am

ESP32 MCPWM Capture Channel current counter running value

Postby lucapassarella » Tue Mar 12, 2024 4:23 pm

Hi

Given the documentation I can see than inside the register PWM_CAP_CHx_REG is stored the timestamp of the last capture event

I would like to know how I can access the current value of the running counter to compare the stored value of PWM_CAP_CHx_REG so to calculate the elapsed time from the last capture event


Thanks,
Luca

Who is online

Users browsing this forum: No registered users and 37 guests