PINC MINC in DMA
I'm using Timer 2 to capture PWM input. The configurations are made to capture the period and duty in both CCR1 and CCR2 registers.
I have planned to use DMA, to store the values of CCR1 and CCR2 into memory using with a same channel of TIMER2(CHANNEL 3 of TIMER2). The DMA is configured in circular mode with SNDTR to 2.
I see we have PINC and MINC bits , which can be used to increment both Peripheral (in DMA_SPAR) and memory address(DMA_SM0AR) automatically after each DMA requests.
But, I 'm unable to see whether the configurations (initially configured addresses) in DMA_SPAR, and DMA_SM0AR will be back to initial value once SNDTR becomes zero.
Can someone please help me finding the answer
