I am in trouble with capturing the leading edge and trailing edge of pulse in IPWM mode of eMIOS,especially the setting of interrupt of it, and I find that the FLAG bit of CSR register of the eMIOS channel that I use remain cleared.I still don't know why it runs like this.I would appreciated if anyone provide a demo of it .