Hello,
On my application, I am using N2HET to generate a periodic interrupt when a rising edge of a square signal is detect on a pin.
This works fine, but at the application start up, with prv bit set to 1 (in the BR instruction with interrupt enabled), if the input signal is already 1 at the time the N2HET is turned on, an interrupt is generated immediately without waitting a rising edge.
Does the prv bit is really taken into account by N2HET for the first time the instruction with edge detection capability is executed ?
With regards,
JDM