PaulS:
If you know what time you got off work, but not what time you started, how can you know you get paid enough?
I know it can sound strange and I don't know how it can be done. I don't know how to get the pulse duration only with an interrupt in the FALLLING. Even I don't know if it is possible.
But I'm on a project and this is what my "boss" told me to do... and right now, I found nothing.