summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 22:46:29 +0530
committerBrijeshcr2017-07-07 22:46:29 +0530
commitce61940a1398e66d9d09b81241789576c1ceca01 (patch)
tree45a111d7e55aa9cbfc1a675662149b106bb0e2ff /2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
parent6ff1c85175485eafabb6a943bc47f30d20ff8382 (diff)
parent9ac9018159cd030c688d8f5ad9167519a8a1d44c (diff)
downloadScilab2C-ce61940a1398e66d9d09b81241789576c1ceca01.tar.gz
Scilab2C-ce61940a1398e66d9d09b81241789576c1ceca01.tar.bz2
Scilab2C-ce61940a1398e66d9d09b81241789576c1ceca01.zip
RPi functions, Gui mods and updated toeplitz
Diffstat (limited to '2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h')
-rw-r--r--2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
index 6b142bd5..7b70ce9a 100644
--- a/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
+++ b/2.3-1/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
@@ -21,8 +21,13 @@ extern "C" {
#endif
#define u80u80u80RPI_shiftInu80(dpin,cpin,order) u8RPI_shiftIns(dpin,cpin,order);
+#define d0d0d0RPI_shiftInu80(dpin,cpin,order) u8RPI_shiftIns(dpin,cpin,order);
+
#define u80u80u80u80RPI_shiftOut(dpin,cpin,order,val) u8RPI_shiftOuts(dpin,cpin,order,val);
+#define d0d0d0d0RPI_shiftOut(dpin,cpin,order,val) u8RPI_shiftOuts(dpin,cpin,order,val);
+
#define u160u80u80u80u80RPI_sr595Setupi80(pinBase,nPins,dP,cP,lP) u16RPI_sr595Setups(pinBase,nPins,dP,cP,lP);
+#define d0d0d0d0d0RPI_sr595Setupi80(pinBase,nPins,dP,cP,lP) u16RPI_sr595Setups(pinBase,nPins,dP,cP,lP);
#ifdef __cplusplus
} /* extern "C" */