summaryrefslogtreecommitdiff
path: root/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
diff options
context:
space:
mode:
authorJorawar Singh2017-07-04 15:14:46 +0530
committerJorawar Singh2017-07-04 15:14:46 +0530
commit121b455e1e46617c670a8b9dfa77bbb1aa97a51a (patch)
treed4ebfb141c8036c3d59c0ac9007003f79ed68d02 /src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
parenta3dfa2a4069740517ca6e83f99dd4e0dbb71c377 (diff)
downloadScilab2C_fossee_old-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.tar.gz
Scilab2C_fossee_old-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.tar.bz2
Scilab2C_fossee_old-121b455e1e46617c670a8b9dfa77bbb1aa97a51a.zip
Fixed standalone conversion errors with RPi files
Diffstat (limited to 'src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h')
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
index 7de051f..096fed0 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
+++ b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h
@@ -21,8 +21,12 @@ extern "C" {
#endif
#define u80RPI_digitalReadu80(pin) u8RPI_digitalReads(pin);
+#define d0RPI_digitalReadd0(pin) u8RPI_digitalReads(pin);
+
#define RPI_digitalReadByteu80() RPI_digitalReadByte();
#define u80u80RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state);
+#define d0d0RPI_digitalWrite(pin,state) u8RPI_digitalWrites(pin,state);
+
#define u80RPI_digitalWriteByte(value) u8RPI_digitalWriteBytes(value);
#ifdef __cplusplus