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.

TMS320F2806: General queries regarding HRCAP Module.

Part Number: TMS320F2806


Hello,

I have two questions regarding HRCAP in F2806x,

  • Is it possible to Enable both Rising edge interrupt and falling edge interrupt?
  • Can we call both LowPulseWidth0, and HighPulseWidth0 functions if we need to know the values?Because in the examples for F2806x, we are doing an if else for rising and falling edge interrupts

Thanks,

  • Hi Debraj,

    Is it possible to Enable both Rising edge interrupt and falling edge interrupt?

    Yes. The Interrupt sent downstream is an OR of the rising edge and falling edge interrupts so you can enable both.

    Can we call both LowPulseWidth0, and HighPulseWidth0 functions if we need to know the values?Because in the examples for F2806x, we are doing an if else for rising and falling edge interrupts

    Yes, you can call both.