Hi Dave ! Even I've never used them you could also use the CYCLE_COUNT_START / CYCLE_COUNT_STOP macros from 21060.h. They are using an undocumented internal register called emuclk. It's like a counter running on the core clock. You just have to pass a storage variable to the macros. regards Christoph -----Ursprgliche Nachricht----- Von: Harshad S Dave [mailto:] Gesendet: Mittwoch, 3. Oktober 2001 10:33 An: Betreff: RE: [adsp] @ TCOUNT hi Jeff Thanks for replaying actually i want to read the time differance between two successive interrupt caused by external hardware. So i am intefacing hardware signal to one of interrupt now on first interrupt i start my timer and i stop it on next interrupt I am working in C . As per my knowledge there are two way of accessing TCOUNT One is to write assembly subroutine in which i can store TCOUNT value to some global variable and recall that variable in my C code. I dont want to do this. second is i can use pointers and directly read content of that address. But for doing this i need memory address of TCOUNT Can you help me regarding this Pl. correct me if i wrong harshad |
AW: @ TCOUNT
Started by ●October 4, 2001