当EDMA chain了一个事件(channel)后,CER/CERH对应该channel的相关比特位会置1,当该事件完成后,EDMA CC会检测到从EDMA TC传过来的chained completion code(TCC),说明数据传输完成,这时该事件对应的CER/CERH比特位会自动清零。
4.2.6.4 Chained Event Registers (CER, CERH)
When the OPTIONS parameter for a PaRAM entry is programmed to returned a chained completion code (ITCCHEN = 1 and/or TCCHEN = 1), then the value dictated by the TCC[5:0] (also programmed in OPT, the value of TCC in PaRAM register is next channel number that will be started to move data later) forces the corresponding event bit to be set in the chained event registers (CER/CERH, that is to set CER/CERH[TCC] = 1). The set chained event is evaluated by the EDMA3CC logic for an associated transfer request submission to the transfer controllers. This results in a chained-triggered transfer(TCC channel will start work to move data).