mirror of https://github.com/zrafa/xinu-avr.git
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.
14 lines
378 B
14 lines
378 B
/* getticks.c - getticks */ |
|
|
|
#include <xinu.h> |
|
|
|
/*------------------------------------------------------------------------ |
|
* getticks - Retrieve the number of clock ticks since CPU reset |
|
*------------------------------------------------------------------------ |
|
*/ |
|
uint32 getticks() |
|
{ |
|
/* Cortex M3 does have a clock cycle cnt register */ |
|
uint32 ret = 0; |
|
return ret; |
|
}
|
|
|