def readRisingTimestamp(self): """Return the timestamp for the rising interrupt that occurred most recently. This is in the same time domain as getClock(). The rising-edge interrupt should be enabled with setUpSourceEdge. :returns: Timestamp in seconds since boot. """ if self.interrupt is None: raise ValueError("The interrupt is not allocated.") return hal.readInterruptRisingTimestamp(self.interrupt)