You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
402 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __PRU_TIME_MODULE_HEADER__
  2. #define __PRU_TIME_MODULE_HEADER__
  3. #ifdef icss0
  4. # ifdef pru0
  5. # include "pruss0_core0.h"
  6. # else
  7. # include "pruss0_core1.h"
  8. # endif
  9. #else
  10. # ifdef pru0
  11. # include "pruss1_core0.h"
  12. # else
  13. # include "pruss1_core1.h"
  14. # endif
  15. #endif
  16. uint32_t getTimeTicks( void );
  17. void resetTimeTicks( void );
  18. void waitTimeTicks( uint32_t Ticks );
  19. #endif