This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Interrupt on both PWM edges

Hi Im using the pwm in the NRF52 with the following function: APP_ERROR_CHECK(nrf_drv_pwm_init(&m_pwm2, &config2, pwm2_handler));

in the Interrupt function "pwm2_handler" I receive an Interrupt after each full PWM cycle. Is there a possibility to receive an Interrupt as soon as the Ouput goes high (rising edge) and once again if the output goes down (falling edge)?

Thank you

Parents Reply Children
No Data
Related