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.

An Interrupt controller question

Anonymous
Anonymous


Hi All,

 

I have another question on page 159 of SPRU871k, TMS320C64x+ DSP Megamodule Reference Guide:

 

On the bottom line of this page it is said:

 

If a new event is received during the same cycle, a clear is specified via an EVTCLRx register, the new event input takes precedence as an additional precaution against missing events.

 

The first half “If a new event is received during the same cycle, a clear is specified via an EVTCLRx register”, how should this be understood? Does this mean when in the clock cycle when one is writing to the clear bit EVTCLRx, and event x just happen to occur within the same cycle, when these two coexist, EVTCLRx takes precedence and the event is ignored?

 

If the above is true, why the second half of the sentence says that “the new event input takes precedence as an additional precaution against missing events”? It seems from this sentence that the new event x has higher priority than EVTCLRx, which contradicts the above.

 

Could anyone explain this to me?

 

 

 

Sincerely,

Zheng

  • "If a new event is received during the same cycle, a clear is specified via an EVTCLRx register, the new event input takes precedence as an additional precaution against missing events."

     

    I am wondering if I need to add an elliptical "when" and ignore a comma in construing the sentence:

    "If a new event is received during the same cycle WHEN a clear is specified via an EVTCLRx register, the new event input takes precedence as an additional precaution against missing events."

     

    Now it seems to make sense. Is this correct?

     

    Sincerely,

    Zheng

     

  • Zheng Zhao,

    Yes, this is correct. The comma should be removed, and the addition of "when" is an excellent way to make it more clear.

    Regards,
    RandyP

     

    If this answers your question, please click the  Verify Answer  button below. If not, please reply back with more information.