]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ticks.h
chg: unused .. but not for long
[proxmark3-svn] / armsrc / ticks.h
index 050cb6ae3a9dbac26dd07ab3a952bb386e3021bf..8ad4bc679ad4bf516b56ff00b45c93c4ea0d24a7 100644 (file)
@@ -19,7 +19,7 @@
 #include "proxmark3.h"
 
 #ifndef GET_TICKS
-# define GET_TICKS AT91C_BASE_TC0->TC_CV
+# define GET_TICKS   (uint32_t)((AT91C_BASE_TC1->TC_CV << 16) | AT91C_BASE_TC0->TC_CV)
 #endif
 
 void SpinDelay(int ms);
@@ -44,4 +44,5 @@ extern void WaitUS(uint16_t us);
 extern void WaitMS(uint16_t ms);
 extern void ResetTicks();
 extern void ResetTimer(AT91PS_TC timer);
+extern void StopTicks(void);
 #endif
\ No newline at end of file
Impressum, Datenschutz