diff options
author | siddhu8990 | 2016-01-13 11:15:17 +0530 |
---|---|---|
committer | siddhu8990 | 2016-01-13 11:15:17 +0530 |
commit | 7cba1cf7d2ee89559239a22c50297a1545de0587 (patch) | |
tree | 5319b21a5679b6dabf10c57346cea9b41db02ac2 /src/c/hardware/avr/includes/AVRPeripheralTimer.h | |
parent | d166736e0eb384156d30bcea45711d4c8d474ee1 (diff) | |
download | Scilab2C_fossee_old-7cba1cf7d2ee89559239a22c50297a1545de0587.tar.gz Scilab2C_fossee_old-7cba1cf7d2ee89559239a22c50297a1545de0587.tar.bz2 Scilab2C_fossee_old-7cba1cf7d2ee89559239a22c50297a1545de0587.zip |
Test commit
Diffstat (limited to 'src/c/hardware/avr/includes/AVRPeripheralTimer.h')
-rw-r--r-- | src/c/hardware/avr/includes/AVRPeripheralTimer.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/c/hardware/avr/includes/AVRPeripheralTimer.h b/src/c/hardware/avr/includes/AVRPeripheralTimer.h new file mode 100644 index 0000000..78b04aa --- /dev/null +++ b/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__ */ |