Arctic_Eddie
Well-known member
Is it possible or feasible to create another clock function for the T4 with higher resolution? It might be called Nanos() with a 10 nsec resolution. I envision something like F_CLK / 6 with overflow being accumulated in a uint64_t variable. I tried a simple sketch with that variable size but it won't work with Serial.print(). The error mentions overloaded function. I assume that means the print function cannot accept a 64-bit value.
I'm not at all familiar with the T4 internal registers so would not attempt something like this.
I'm not at all familiar with the T4 internal registers so would not attempt something like this.