The time value given to jshUtilTimerStart depends on the platform though. See jshGetMillisecondsFromTime to figure out what the number actually represents.
You can call the IRQ handler at a time less than the 64 bit value, so if your timer can't go up that far (which is likely) just call it after the max time period it can handle.
The point is that the IRQ handler should run in an IRQ, so potentially over the top of JS code that is executing
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Pretty much:
The time value given to jshUtilTimerStart depends on the platform though. See jshGetMillisecondsFromTime to figure out what the number actually represents.
You can call the IRQ handler at a time less than the 64 bit value, so if your timer can't go up that far (which is likely) just call it after the max time period it can handle.
The point is that the IRQ handler should run in an IRQ, so potentially over the top of JS code that is executing