I am trying to get a very precise timestamp of when a GPIO IRQ occurs. I've already altered gpiolib to create a new object: "/sys/class/gpio/gpioXXX/timestamp"
What i can't figure out is how to write to it from within the ISR. Should be fairly simple:
What I can't seem to figure out is how to get (or create) the pointer to "/sys/class/gpio/gpioXXX/timestamp" inside the interrupt routine.
Thank you everyone in advance.