diff options
Diffstat (limited to 'src/arch/msp430fr5969lp/driver')
-rw-r--r-- | src/arch/msp430fr5969lp/driver/uptime.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/msp430fr5969lp/driver/uptime.cc b/src/arch/msp430fr5969lp/driver/uptime.cc new file mode 100644 index 0000000..6d16441 --- /dev/null +++ b/src/arch/msp430fr5969lp/driver/uptime.cc @@ -0,0 +1,9 @@ +#include "driver/uptime.h" +#include <msp430.h> + +uint32_t Uptime::get() +{ + return TA0R; +} + +Uptime uptime; |