diff options
Diffstat (limited to 'src/c/hardware/rasberrypi/Timing')
-rw-r--r-- | src/c/hardware/rasberrypi/Timing/RPI_micros.c | 21 | ||||
-rw-r--r-- | src/c/hardware/rasberrypi/Timing/RPI_millis.c | 21 | ||||
-rw-r--r-- | src/c/hardware/rasberrypi/Timing/u32RPI_delayMicros.c | 19 | ||||
-rw-r--r-- | src/c/hardware/rasberrypi/Timing/u32RPI_delays.c | 19 |
4 files changed, 0 insertions, 80 deletions
diff --git a/src/c/hardware/rasberrypi/Timing/RPI_micros.c b/src/c/hardware/rasberrypi/Timing/RPI_micros.c deleted file mode 100644 index a7a8450..0000000 --- a/src/c/hardware/rasberrypi/Timing/RPI_micros.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "RPIPeripheralTiming.h" - -/* Function to get time in microsecond since first setup function called */ - -uint32 RPI_micros(){ - uint32 out; - out=micros(); - return (out); -} diff --git a/src/c/hardware/rasberrypi/Timing/RPI_millis.c b/src/c/hardware/rasberrypi/Timing/RPI_millis.c deleted file mode 100644 index b383f2a..0000000 --- a/src/c/hardware/rasberrypi/Timing/RPI_millis.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "RPIPeripheralTiming.h" - -/* Function to get time in millisecond since first setup function called */ - -uint32 RPI_millis(){ - uint32 out; - out=millis(); - return (out); -} diff --git a/src/c/hardware/rasberrypi/Timing/u32RPI_delayMicros.c b/src/c/hardware/rasberrypi/Timing/u32RPI_delayMicros.c deleted file mode 100644 index 1ffdda7..0000000 --- a/src/c/hardware/rasberrypi/Timing/u32RPI_delayMicros.c +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "RPIPeripheralTiming.h" - -/* Function to insert some delay in code execution. */ - -void u32RPI_delayMicros(uint32 time){ - delayMicroseconds(time); -} diff --git a/src/c/hardware/rasberrypi/Timing/u32RPI_delays.c b/src/c/hardware/rasberrypi/Timing/u32RPI_delays.c deleted file mode 100644 index 7802d6b..0000000 --- a/src/c/hardware/rasberrypi/Timing/u32RPI_delays.c +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright (C) 2016 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Siddhesh Wani, Jorawar Singh - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#include "RPIPeripheralTiming.h" - -/* Function to insert some delay in code execution. */ - -void u32RPI_delays(uint32 time){ - delay(time); -} |