Read value of Timer0 on Due?

I need to read the current value of Timer0 on a Due, but the TCNT0 variable doesn't seem to exist.

Where can I get the value of Timer0?

Hello fantasygoat,

Here a good library/examples to start with.

ivanseidel/Due Timer library



I don't want to set my own interrupt. I want to read the counter value of Timer0 which is supposed to be an 8-bit integer that counts from 0-255.

No such thing on the Due, its a completely different architecture. Look at the source code for things like delay() and micros() in wiring.c