summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h
diff options
context:
space:
mode:
authorMushirahmed2016-01-15 16:47:41 +0530
committerMushirahmed2016-01-15 16:47:41 +0530
commit41bd783b705f1de28308896ecdb4e7ba0cc842f8 (patch)
treef04d43098d9bc44c58c886b98f8fc43c26aac4d2 /2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h
parent3b6025f3708421279a7df1df2e7990ebff833324 (diff)
parentef666a6b9ac74d5effe8b34179cc3ad0c247e7c3 (diff)
downloadScilab2C-41bd783b705f1de28308896ecdb4e7ba0cc842f8.tar.gz
Scilab2C-41bd783b705f1de28308896ecdb4e7ba0cc842f8.tar.bz2
Scilab2C-41bd783b705f1de28308896ecdb4e7ba0cc842f8.zip
merge before windows testing lapack and Makefile.mak file
Diffstat (limited to '2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h')
-rw-r--r--2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h b/2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h
new file mode 100644
index 00000000..78b04aae
--- /dev/null
+++ b/2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h
@@ -0,0 +1,27 @@
+//This file defines functions prototypes related to Timer.
+//
+// Authors
+// Siddhesh Wani
+//
+
+#ifndef __AVRPERIPHERALTIMER_H__
+#define __AVRPERIPHERALTIMER_H__
+
+#include <avr/io.h>
+#include "types.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+//Function prototypes
+uint8 u8AVRTimerSetups(uint8 timer, uint8 prescalar);
+
+uint8 u8AVRGetTimerValue(uint8 timer);
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* !__AVRPERIPHERALTIMER_H__ */