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.

TMS570LS1224: NHET edge interrupt

Part Number: TMS570LS1224

Hi Team,

when configure the both rising edge and falling edge interrupt as below,  when interrupt occur, how to know the interrupt come from rising edge or falling edge?

  • Hello Strong,

    The event triggering the counter will be rising and falling edge on the pin4.
  • Hi QJ,

    Which flag can tell whether the interrupt come from rising edge or falling edge?

    Strong
  • Hi Strong,

    There is no flag associated to those edges. The interrupt is generated by either edge of the input signal. The NHET instruction which handles this input edge is ECNT.

    N2HET interrupts can be generated by any instruction that has an interrupt enable bit in its instruction format. The number in HETOFF1 or HETOFF2 provides the number of the highest priority source instruction.

    Please refer to Table 21-12: Interrupt Sources and Corresponding Offset Values in Registers HETOFFx