
136 CHAPTER 6. FRAME-BASED DSP
specified by BUFFER_COUNT (defined in ISRs.c), and transfers them to buffer[2],
10
the initial
buffer designated for output. The code is written such that when it finishes that transfer,
it automatically reconfigures the channel with the information stored at EVENTN_PARAMS in
the parameter RAM (this is accomplished by the reload_link field in line 10). EVENTN
is set up in the next code block starting at line 13, which configures the EDMA to use
buffer[0] and reconfigures the channel with the information stored at EVENTO_PARAMS when
it finishes. EVENTO_PARAMS (starting on line 21) will then cause the EDMA transfer to use
buffer[1],