diff options
author | imushir | 2016-01-18 14:10:56 +0530 |
---|---|---|
committer | imushir | 2016-01-18 14:10:56 +0530 |
commit | 2803a0bccff2ca4f4b5b81d3ef7f7cf3c75e0ec9 (patch) | |
tree | 80d03589495b3a109013e267c42c7d6235c2c9e8 /2.3-1/src/c/hardware/avr/includes/AVRPeripheralTimer.h | |
parent | bcb2bf1c014a1078f4306cd0111f4e596fe934ce (diff) | |
parent | 1e87b6e62cfe8e0889cd677b8406ab89809f53da (diff) | |
download | Scilab2C-2803a0bccff2ca4f4b5b81d3ef7f7cf3c75e0ec9.tar.gz Scilab2C-2803a0bccff2ca4f4b5b81d3ef7f7cf3c75e0ec9.tar.bz2 Scilab2C-2803a0bccff2ca4f4b5b81d3ef7f7cf3c75e0ec9.zip |
merged pulled
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.h | 27 |
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__ */ |