AnsweredAssumed Answered

DMA events like functionality

Question asked by Lukasz Przenioslo on Oct 18, 2015
Latest reply on Oct 18, 2015 by Clive One
Hello there,
I know that dma can be used to transfer data from/to peripherals to memory and etc. I was wondering though would it be possible to use the dma for registering certain events instead of interrupts?
For example, lets say I would like to reset a timers counter each time there is an external interrupt on a pin (falling edge). Normally in the interrupt routine I would just reset the counter of the timer. But can DMA do that automatically? Maybe some register is equal 0 at the time of a falling edge on some pin and it can be copied to the timers counter register?
I would apreciate all help!

Outcomes