summaryrefslogtreecommitdiff
path: root/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
commitf577f255fd5c1d30bc770e9b053823ada8684528 (patch)
treee833a4b3429b3145bfe2b7376259c188fa8da141 /src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
parent4ebc92d414c6e87cea84770f4137434b922a76ca (diff)
parentdc2a8c2cec20a086e1f9312e90281891c2f2c4d0 (diff)
downloadscilab2c-f577f255fd5c1d30bc770e9b053823ada8684528.tar.gz
scilab2c-f577f255fd5c1d30bc770e9b053823ada8684528.tar.bz2
scilab2c-f577f255fd5c1d30bc770e9b053823ada8684528.zip
RPi functions, Gui mods and updated toeplitz
Diffstat (limited to 'src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h')
-rw-r--r--src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h b/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
index 6b142bd5..7b70ce9a 100644
--- a/src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralShift.h
+++ b/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" */