This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

有关TMS570LS3137中断问题

Other Parts Discussed in Thread: HALCOGEN

您好!

 

      我想问下:在SCI使能中断函数中:最后的两句怎么理解?为什么这样就能使能中断?

void sciEnableNotification(sciBASE_t *sci, uint32_t flags)

 {    

        uint32_t index = sci == sciREG ? 0 : 1;

        g_sciTransfer[index].mode |= (flags & SCI_TX_INT);    

         sci->SETINT                = (flags & ~SCI_TX_INT);

 

谢谢