src/easycan.h
/* 64 bit version of micros() to avoid rollover */
64 bit version of micros() to avoid rollover
64 bit version of micros () to avoid rollover
uint64_t micros64() {
  static uint32_t low32, high32;
  uint32_t new_low32 = micros();
  if (new_low32 < low32) {
    high32++;
  }
  low32 = new_low32;
  return((uint64_t) high32 << 32 | low32);
}
uint64_t micros64 ( ) { static uint32_t low32 , high32 ; uint32_t new_low32 = micros ( ) ; if ( new_low32 < low32 ) { high32 ++ ; } low32 = new_low32 ; return ( ( uint64_t ) high32 << 32 | low32 ) ; }
64 bit version of micros() to avoid rollover
64 bit version of micros () to avoid rollover