diff options
author | Mushirahmed | 2016-01-15 16:47:41 +0530 |
---|---|---|
committer | Mushirahmed | 2016-01-15 16:47:41 +0530 |
commit | 05ccd0b6ec64ec92722e482e00d3082306b21a0a (patch) | |
tree | f56951f10d7fe8e534aff81d4287bb090bf157c5 /src/c/hardware/avr/includes | |
parent | cad39eb3d3f3509eb44e87e2aeac210e9328fdc0 (diff) | |
parent | 1ff7f5293444b22b46ff7bd51d52a845dc20525c (diff) | |
download | scilab2c-05ccd0b6ec64ec92722e482e00d3082306b21a0a.tar.gz scilab2c-05ccd0b6ec64ec92722e482e00d3082306b21a0a.tar.bz2 scilab2c-05ccd0b6ec64ec92722e482e00d3082306b21a0a.zip |
merge before windows testing lapack and Makefile.mak file
Diffstat (limited to 'src/c/hardware/avr/includes')
-rw-r--r-- | src/c/hardware/avr/includes/AVRPeripheralPWM.h | 2 | ||||
-rw-r--r-- | src/c/hardware/avr/includes/AVRPeripheralTimer.h | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/c/hardware/avr/includes/AVRPeripheralPWM.h b/src/c/hardware/avr/includes/AVRPeripheralPWM.h index 80b29f3a..7371dd74 100644 --- a/src/c/hardware/avr/includes/AVRPeripheralPWM.h +++ b/src/c/hardware/avr/includes/AVRPeripheralPWM.h @@ -17,7 +17,7 @@ extern "C" { //Function prototypes uint8 u8AVRPWMSetups(uint8 timer, uint8 prescalar, uint8 waveform_mode, uint8 output_mode); -uint8 u8AVRPWMSetDuty(uint8 timer, uint8 duty); +uint8 u8AVRPWMSetDutys(uint8 timer, uint8 duty); #ifdef __cplusplus diff --git a/src/c/hardware/avr/includes/AVRPeripheralTimer.h b/src/c/hardware/avr/includes/AVRPeripheralTimer.h new file mode 100644 index 00000000..78b04aae --- /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__ */ |