diff options
Diffstat (limited to 'src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h')
-rw-r--r-- | src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h index 096fed0..40a8e1a 100644 --- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h +++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h @@ -5,7 +5,7 @@ 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 + Author: Siddhesh Wani Organization: FOSSEE, IIT Bombay Email: toolbox@scilab.in */ @@ -20,17 +20,14 @@ extern "C" { #endif -#define u80RPI_digitalReadu80(pin) u8RPI_digitalReads(pin); -#define d0RPI_digitalReadd0(pin) u8RPI_digitalReads(pin); +#define RPI_DigitalSetup(in1,in2) u8RPIDigitalSetups((uint8) in1, (uint8) in2); -#define RPI_digitalReadByteu80() RPI_digitalReadByte(); -#define u80u80RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state); -#define d0d0RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state); +#define RPI_DigitalIn(in1) u8RPIDigitalIns((uint8) in1); -#define u80RPI_digitalWriteByte(value) u8RPI_digitalWriteBytes(value); +#define RPI_DigitalOut(in1,in2) u8RPIDigitalOuts((uint8) in1, (uint8) in2); #ifdef __cplusplus } /* extern "C" */ #endif -#endif /* !__INT_RPIPERIPHERALGPIO_H__ */ +#endif /* !__RPIPERIPHERALGPIO_H__ */ |