The role of TCC in EDMA

Source: Internet
Author: User

Here are some useful replies from the forum http://www.hellodsp.com:

If the tcint=1 is set, a EDMA interrupt is sent after the transfer is complete, and different transports can be distinguished by the TCC (transfer completion code), which is associated to different functions, which are already encapsulated in the EDMA routines.

Hedmatable is a newly assigned param item.

After a bit of upstairs, I think the use of TCC is to set the usage for EDMA interrupts, if you want to generate a EDMA interrupt after the EDMA transfer is complete, be sure to set the TCC value. The TCC represents the interrupt function, so if you want to use the same TCC for several EDMA channels, it means that the same interrupt service function is used together after these transport channels have completed the transfer. Furthermore, the specific use of which EDMA channel is independent of the value of TCC. That is, if tcc=0111b, does not mean that he will use the seventh EDMA channel.

As for pram, it is used to configure the EDMA channel.

2 floor and 3 floor is very right, if you set tcint = 1 in the OPT register, then EDMATC will return the TCC code to EDMACC after the transfer is complete, which is the TCCM:TCC set in the OPT register. If the interrupt is enabled, the EDMA interrupts to the CPU, since the 64 channels of EDMA can only produce one interrupt, that is Edma_int, which channel is generated by this TCC to determine the interrupt, the resulting interrupt channel will be placed in the corresponding position in the CIPR

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.